Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
I'm an Artist, that's how I See it! | Plot Customization
First Dive into seaborn Visualization

I'm an Artist, that's how I See it!I'm an Artist, that's how I See it!

We mentioned that the seaborn is based on the matplotlib. That is why all seaborn styles are set using matplotlib functions.

We can use the axes_style() function with no arguments to see which functions are used for the current style.

And then, we have the opportunity to adjust the desired parameters manually and create our unique style!

To change individual style settings manually:

Try this code to look at the customized plot:

Task

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set 'whitegrid' style with 'xtick.color' - white, 'ytick.color' - white, 'figure.facecolor' - grey, 'font.family'- ['monospace'].
  5. Rotate labels along the Ox axis by 45 degrees.
  6. Show the plot.

Everything was clear?

Section 3. Chapter 5
toggle bottom row
course content

Course Content

First Dive into seaborn Visualization

I'm an Artist, that's how I See it!I'm an Artist, that's how I See it!

We mentioned that the seaborn is based on the matplotlib. That is why all seaborn styles are set using matplotlib functions.

We can use the axes_style() function with no arguments to see which functions are used for the current style.

And then, we have the opportunity to adjust the desired parameters manually and create our unique style!

To change individual style settings manually:

Try this code to look at the customized plot:

Task

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set 'whitegrid' style with 'xtick.color' - white, 'ytick.color' - white, 'figure.facecolor' - grey, 'font.family'- ['monospace'].
  5. Rotate labels along the Ox axis by 45 degrees.
  6. Show the plot.

Everything was clear?

Section 3. Chapter 5
toggle bottom row
some-alt