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

Conteúdo do 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

Heatmap

A heatmap is a plot of rectangular data as a color-encoded matrix. As a parameter, it takes a 2D dataset. That dataset can be coerced into an ndarray.

This is a great way to visualize data because it can show the relation between variables, including time. For instance, the number of flights through the years.

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

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Tudo estava claro?

Seção 4. Capítulo 1
toggle bottom row

Heatmap

A heatmap is a plot of rectangular data as a color-encoded matrix. As a parameter, it takes a 2D dataset. That dataset can be coerced into an ndarray.

This is a great way to visualize data because it can show the relation between variables, including time. For instance, the number of flights through the years.

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

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Tudo estava claro?

Seção 4. Capítulo 1
toggle bottom row

Heatmap

A heatmap is a plot of rectangular data as a color-encoded matrix. As a parameter, it takes a 2D dataset. That dataset can be coerced into an ndarray.

This is a great way to visualize data because it can show the relation between variables, including time. For instance, the number of flights through the years.

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

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Tudo estava claro?

A heatmap is a plot of rectangular data as a color-encoded matrix. As a parameter, it takes a 2D dataset. That dataset can be coerced into an ndarray.

This is a great way to visualize data because it can show the relation between variables, including time. For instance, the number of flights through the years.

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

Tarefa

  1. Set the 'ticks' style with the 'seagreen' figure.facecolor.
  2. Create the heatmap using the seaborn library:
  • Add the data for the heatmap. You only need to input the name of the DataFrame (without data = ...);
  • Set the 'viridis' cmap parameter;
  • Add the annot parameter;
  • Set the fmt parameter equals the '0.99g';
  • Set the linecolor parameter equals the 'plum';
  • Display the plot.

Seção 4. Capítulo 1
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt