Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Let's Cope with Axles | Plot Customization
course content

Зміст курсу

First Dive into seaborn Visualization

Let's Cope with AxlesLet's Cope with Axles

Setting label names:

To set label names, we need to set a plot variable and use:

X(y)ticks rotation:

To rotate labels, we need to use:

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set label names 'Population'(Oy axis) & 'Years(2012-2022)'(Ox axis).
  5. Rotate labels along the Ox axis by 45 degrees.
  6. Show the plot.

Все було зрозуміло?

Секція 3. Розділ 3
toggle bottom row
course content

Зміст курсу

First Dive into seaborn Visualization

Let's Cope with AxlesLet's Cope with Axles

Setting label names:

To set label names, we need to set a plot variable and use:

X(y)ticks rotation:

To rotate labels, we need to use:

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set label names 'Population'(Oy axis) & 'Years(2012-2022)'(Ox axis).
  5. Rotate labels along the Ox axis by 45 degrees.
  6. Show the plot.

Все було зрозуміло?

Секція 3. Розділ 3
toggle bottom row
some-alt