Conteúdo do Curso
Deep Dive into the seaborn Visualization
Deep Dive into the seaborn Visualization
1. Light Start
4. Matrix Plots
Rugplot
The rugplot
is intended to complement other plots by showing the location of individual observations in an unobtrusive way.
Tarefa
Swipe to begin your solution
- Set the
'darkgrid'
style with the disabled'axes.grid'
and the'axes.facecolor'
equals the'aliceblue'
(color). We learned how to do that in the first part of the course. - Create the
kdeplot
using theseaborn
library. - Create the
rugplot
using theseaborn
library:
- Set the
x
parameter equals the'total_bill'
; - Set the
hue
parameter equals the'sex'
; - Set the
height
parameter equals0.05
; - Set the
'magma'
palette
; - Set the data using the
df
; - Display the plot.
Solução
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3
Rugplot
The rugplot
is intended to complement other plots by showing the location of individual observations in an unobtrusive way.
Tarefa
Swipe to begin your solution
- Set the
'darkgrid'
style with the disabled'axes.grid'
and the'axes.facecolor'
equals the'aliceblue'
(color). We learned how to do that in the first part of the course. - Create the
kdeplot
using theseaborn
library. - Create the
rugplot
using theseaborn
library:
- Set the
x
parameter equals the'total_bill'
; - Set the
hue
parameter equals the'sex'
; - Set the
height
parameter equals0.05
; - Set the
'magma'
palette
; - Set the data using the
df
; - Display the plot.
Solução
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo