Python Data Visualization Transcripts
Chapter: Seaborn
Lecture: Figure and axes level plots

Login or purchase this course to watch this video and the rest of the course contents.
0:00 I want to go over a core Seaborn concept that is really critical to understanding how Seaborn works and most effectively using it in your own workflow.
0:11 Seaborn has a concept of figure level plots. There are three main plots that you're going to want to use most of the time.
0:19 Relational plots, Distribution plots and Categorical plots. Each of these underneath is kind of a wrapper for axes level plots.
0:29 So when you think about relational plots, there are scatter plots and line plots that show the relationship between two different variables.
0:38 And you can create a scatter or a line plot by passing the parameter kind equal scatter or kind equals line to the relation plot function.
0:48 From a distribution plot perspective you can plot, histograms, kde, ecdf or rug plots using
0:57 the displot function and the category plot or catplot has a lot of really useful visualizations. So a strip plot,
1:07 a swarm plot the box plot is probably very familiar to many violin plots. Boxen plots, point plots, bar plots,
1:15 count plots can all be visualized using the catplot function. So the key takeaway from this is that you want to use the figure level plots
1:26 first. These are easier and more flexible to quickly get a plot, but then when you need to do really advanced level customizations,
1:36 you may want to drop down to the axis level plots and customize it for your
1:41 unique needs. But I think starting with the figure level plots will help you understand
1:47 Seaborn more effectively and get up to speed more quickly in using seaborn for your own data visualize functions.

Talk Python's Mastodon Michael Kennedy's Mastodon