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

JointGrid

JointGrid is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.

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

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

¿Todo estuvo claro?

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

JointGrid

JointGrid is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.

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

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

¿Todo estuvo claro?

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

JointGrid

JointGrid is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.

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

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

¿Todo estuvo claro?

JointGrid is a figure-level function, when the function is called a JointGrid object is instantiated. The function creates a JointGrid object consisting of three axes objects but does not plot anything on it.

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

Tarea

  1. Set the 'ticks' style with the 'lightcyan' figure.facecolor.
  2. Create a JointGrid variable g:
  • Set the x parameter equals the 'bill_length_mm';
  • Set the y parameter equals the 'bill_depth_mm';
  • Set the hue parameter equals the 'species';
  • Set the 'viridis' palette;
  • Set the data.

Set the inside plot using the .plot_joint() function using the g variable:

  • Create a scatterplot using the seaborn;
  • Set the alpha parameter equals 0.5;
  • Set the 'pink' edgecolor parameter;
  • Set the linewidth parameter equals 1.

Set the outside plot using the .plot_marginals() function:

  • Create the histplot using the seaborn;
  • Add the kde parameter.

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