Rugplot
The rugplot is intended to complement other plots by showing the location of individual observations in an unobtrusive way.






Tarefa
Swipe to start coding
- 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
kdeplotusing theseabornlibrary. - Create the
rugplotusing theseabornlibrary:
- Set the
xparameter equals the'total_bill'; - Set the
hueparameter equals the'sex'; - Set the
heightparameter equals0.05; - Set the
'magma'palette; - Set the data using the
df; - Display the plot.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Resumir este capítulo
Explicar o código em file
Explicar por que file não resolve a tarefa
Awesome!
Completion rate improved to 4.35
Rugplot
Deslize para mostrar o menu
The rugplot is intended to complement other plots by showing the location of individual observations in an unobtrusive way.






Tarefa
Swipe to start coding
- 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
kdeplotusing theseabornlibrary. - Create the
rugplotusing theseabornlibrary:
- Set the
xparameter equals the'total_bill'; - Set the
hueparameter equals the'sex'; - Set the
heightparameter equals0.05; - Set the
'magma'palette; - Set the data using the
df; - Display the plot.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3
single