Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Catplot | Categorical Plot Types
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

Catplot

Note

catplot = FacetGrid + stripplot/swarmplot/boxplot/violinplot/barplot/pointplot

The catplot function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot, stripplot and so on.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img

Note

Scroll down to see the full plot when you cope with the task!

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

¿Todo estuvo claro?

Sección 3. Capítulo 8
toggle bottom row

Catplot

Note

catplot = FacetGrid + stripplot/swarmplot/boxplot/violinplot/barplot/pointplot

The catplot function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot, stripplot and so on.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img

Note

Scroll down to see the full plot when you cope with the task!

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

¿Todo estuvo claro?

Sección 3. Capítulo 8
toggle bottom row

Catplot

Note

catplot = FacetGrid + stripplot/swarmplot/boxplot/violinplot/barplot/pointplot

The catplot function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot, stripplot and so on.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img

Note

Scroll down to see the full plot when you cope with the task!

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

¿Todo estuvo claro?

Note

catplot = FacetGrid + stripplot/swarmplot/boxplot/violinplot/barplot/pointplot

The catplot function provides a new framework giving access to several types of plots that show a relationship between a numerical variable and one or more categorical variables, like boxplot, stripplot and so on.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img

Note

Scroll down to see the full plot when you cope with the task!

Tarea

  1. Set the 'white' style with the 'aliceblue' axes.facecolor.
  2. Create the catplot using the seaborn library:
  • Set the x parameter equals the 'species';
  • Set the y parameter equals the 'body_mass_g';
  • Set the hue parameter equals the 'sex';
  • Set the row parameter equals the 'island';
  • Set the 'viridis' palette;
  • Set the alpha parameter equals 0.6;
  • Disable the legend_out.

Sección 3. Capítulo 8
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