Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Colors | Light Start
Deep Dive into the seaborn Visualization
course content

Contenido del Curso

Deep Dive into the seaborn Visualization

Deep Dive into the seaborn Visualization

1. Light Start
2. Distributions of Data
3. Categorical Plot Types
4. Matrix Plots
5. Multi-Plot Grids
6. Regression Models

Colors

It is essential to choose the right color for the plot. If your plot looks good, it will be easy to study it.

Note

If you work with different categories - change colors.

If you work with different values - change colors for them.

Pay attention!

These 2 variants of setting the palette show different color results:

  • If you put the palette name with the .set_palette function, the colors will be changed for the plot elements;
  • If you put the palette as an argument in the plot function, colors will be used for the hue variable.

To change the brightness and saturation, you can use these default styles:

To visualize the numeric values, we can use perceptually uniform palettes.

Some more palettes!

Here are presented some more matplotlib colors. You can use them if you're going to set one color for plot elements or customize the plot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

¿Todo estuvo claro?

Sección 1. Capítulo 2
toggle bottom row

Colors

It is essential to choose the right color for the plot. If your plot looks good, it will be easy to study it.

Note

If you work with different categories - change colors.

If you work with different values - change colors for them.

Pay attention!

These 2 variants of setting the palette show different color results:

  • If you put the palette name with the .set_palette function, the colors will be changed for the plot elements;
  • If you put the palette as an argument in the plot function, colors will be used for the hue variable.

To change the brightness and saturation, you can use these default styles:

To visualize the numeric values, we can use perceptually uniform palettes.

Some more palettes!

Here are presented some more matplotlib colors. You can use them if you're going to set one color for plot elements or customize the plot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

¿Todo estuvo claro?

Sección 1. Capítulo 2
toggle bottom row

Colors

It is essential to choose the right color for the plot. If your plot looks good, it will be easy to study it.

Note

If you work with different categories - change colors.

If you work with different values - change colors for them.

Pay attention!

These 2 variants of setting the palette show different color results:

  • If you put the palette name with the .set_palette function, the colors will be changed for the plot elements;
  • If you put the palette as an argument in the plot function, colors will be used for the hue variable.

To change the brightness and saturation, you can use these default styles:

To visualize the numeric values, we can use perceptually uniform palettes.

Some more palettes!

Here are presented some more matplotlib colors. You can use them if you're going to set one color for plot elements or customize the plot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

¿Todo estuvo claro?

It is essential to choose the right color for the plot. If your plot looks good, it will be easy to study it.

Note

If you work with different categories - change colors.

If you work with different values - change colors for them.

Pay attention!

These 2 variants of setting the palette show different color results:

  • If you put the palette name with the .set_palette function, the colors will be changed for the plot elements;
  • If you put the palette as an argument in the plot function, colors will be used for the hue variable.

To change the brightness and saturation, you can use these default styles:

To visualize the numeric values, we can use perceptually uniform palettes.

Some more palettes!

Here are presented some more matplotlib colors. You can use them if you're going to set one color for plot elements or customize the plot.

Tarea

Try to set the palette!

Set the 'mako' palette for the countplot.

Sección 1. Capítulo 2
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt