Cursos /
First Dive into seaborn Visualization
Let's Cope with Axles
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
- 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.
Tudo estava claro?
Seção 3. Capítulo 3
Conteúdo do Curso
First Dive into seaborn Visualization
1. Nice to Meet you, seaborn!
First Dive into seaborn Visualization
Let's Cope with Axles
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
- 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.
Tudo estava claro?
Seção 3. Capítulo 3