Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Decoration and...Decoration! | Plot Customization
First Dive into seaborn Visualization
course content

Зміст курсу

First Dive into seaborn Visualization

First Dive into seaborn Visualization

1. Nice to Meet you, seaborn!
2. More and More Plots
3. Plot Customization

Decoration and...Decoration!

Setting the style for the plot

To set the style use:

Styles available: white, dark, whitegrid, darkgrid, ticks etc.

Changing colors of the main elements of the plot

seaborn has different palette options. Below there are a few of them.

Palettes: RdBu, PRGn, RdBu_r, PRGn_r (different colors in the palette), Greys, Blues, PuRd, GnBu (gradient colors).

You can also create your unique palette by creating a list variable. To set the palette use:

Context setting

To set the context use:

Contexts available: paper, notebook, talk, poster etc.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

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

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

Decoration and...Decoration!

Setting the style for the plot

To set the style use:

Styles available: white, dark, whitegrid, darkgrid, ticks etc.

Changing colors of the main elements of the plot

seaborn has different palette options. Below there are a few of them.

Palettes: RdBu, PRGn, RdBu_r, PRGn_r (different colors in the palette), Greys, Blues, PuRd, GnBu (gradient colors).

You can also create your unique palette by creating a list variable. To set the palette use:

Context setting

To set the context use:

Contexts available: paper, notebook, talk, poster etc.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

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

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

Decoration and...Decoration!

Setting the style for the plot

To set the style use:

Styles available: white, dark, whitegrid, darkgrid, ticks etc.

Changing colors of the main elements of the plot

seaborn has different palette options. Below there are a few of them.

Palettes: RdBu, PRGn, RdBu_r, PRGn_r (different colors in the palette), Greys, Blues, PuRd, GnBu (gradient colors).

You can also create your unique palette by creating a list variable. To set the palette use:

Context setting

To set the context use:

Contexts available: paper, notebook, talk, poster etc.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

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

Setting the style for the plot

To set the style use:

Styles available: white, dark, whitegrid, darkgrid, ticks etc.

Changing colors of the main elements of the plot

seaborn has different palette options. Below there are a few of them.

Palettes: RdBu, PRGn, RdBu_r, PRGn_r (different colors in the palette), Greys, Blues, PuRd, GnBu (gradient colors).

You can also create your unique palette by creating a list variable. To set the palette use:

Context setting

To set the context use:

Contexts available: paper, notebook, talk, poster etc.

Завдання

  1. Import seaborn with sns alias.
  2. Import matplotlib.pyplot with plt alias.
  3. Import pandas with pd alias.
  4. Set the 'whitegrid' style.
  5. Set the 'paper' context.
  6. Rotate labels along the Ox axis by 45 degrees.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 3. Розділ 4
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt