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.









Note
Scroll down to see the full plot when you cope with the task!
Swipe to start coding
- Set the
'white'style with the'aliceblue'axes.facecolor. - Create the
catplotusing theseabornlibrary:
- Set the
xparameter equals the'species'; - Set the
yparameter equals the'body_mass_g'; - Set the
hueparameter equals the'sex'; - Set the
rowparameter equals the'island'; - Set the
'viridis'palette; - Set the
alphaparameter equals0.6; - Disable the
legend_out.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
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
Catplot
Deslize para mostrar o menu
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.









Note
Scroll down to see the full plot when you cope with the task!
Swipe to start coding
- Set the
'white'style with the'aliceblue'axes.facecolor. - Create the
catplotusing theseabornlibrary:
- Set the
xparameter equals the'species'; - Set the
yparameter equals the'body_mass_g'; - Set the
hueparameter equals the'sex'; - Set the
rowparameter equals the'island'; - Set the
'viridis'palette; - Set the
alphaparameter equals0.6; - Disable the
legend_out.
Solução
Obrigado pelo seu feedback!
single