Conteúdo do Curso
First Dive into seaborn Visualization
First Dive into seaborn Visualization
1. Nice to Meet you, seaborn!
Let's Cope with Axes
Setting label names:
To set label names, we need to set a plot variable and use:
X(y)ticks rotation:
To rotate labels, we need to use:
Tarefa
Swipe to start coding
- Import
seaborn
withsns
alias. - Import
matplotlib.pyplot
withplt
alias. - Import
pandas
withpd
alias. - Set label names
'Population'
(Oy axis) &'Years(2012-2022)'
(Ox axis). - Rotate labels along the Ox axis by 45 degrees.
- Show the plot.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 3
Let's Cope with Axes
Setting label names:
To set label names, we need to set a plot variable and use:
X(y)ticks rotation:
To rotate labels, we need to use:
Tarefa
Swipe to start coding
- Import
seaborn
withsns
alias. - Import
matplotlib.pyplot
withplt
alias. - Import
pandas
withpd
alias. - Set label names
'Population'
(Oy axis) &'Years(2012-2022)'
(Ox axis). - Rotate labels along the Ox axis by 45 degrees.
- Show the plot.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 3