Contenido del Curso
First Dive into seaborn Visualization
First Dive into seaborn Visualization
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:
Swipe to show code editor
- 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.
¡Gracias por tus comentarios!
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:
Swipe to show code editor
- 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.
¡Gracias por tus comentarios!
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:
Swipe to show code editor
- 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.
¡Gracias por tus comentarios!
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:
Swipe to show code editor
- 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.