From the course: Data Visualization with Matplotlib and Seaborn
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Basic formatting options - Python Tutorial
From the course: Data Visualization with Matplotlib and Seaborn
Basic formatting options
- [Instructor] Let's take a look at a few other chart formatting options in Seaborn. One thing we're going to show you is that we can actually use our Matplotlib formatting syntax on Seaborn charts. But there are a few handy things to know when plotting with Seaborn. And one of those is that if we're working with a chart type, like a bar chart or a line chart, we can use the Matplotlib arguments as keyword arguments in Seaborn plotting functions to format our charts accordingly. So these are going to be passed to the Matplotlib object that Seaborn creates internally. So once again, we are plotting our hotel revenue sum without confidence intervals. And if I pass my ls argument or my color arguments, these are coming from Matplotlib itself, we'll end up with a dash line plotted in green here. And so again, we're going to cover integration with Matplotlib later. But when it comes to these individual chart types, just know that many of the arguments we learned for formatting them will…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Intro to seaborn2m 58s
-
(Locked)
Basic formatting options5m 25s
-
(Locked)
Bar charts and histograms12m 2s
-
(Locked)
Challenge: Bar charts and histograms1m 48s
-
(Locked)
Solution: Bar charts and histograms4m 5s
-
(Locked)
Box and violin plots7m 31s
-
(Locked)
Challenge: Box and violin plots1m 15s
-
(Locked)
Solution: Box and violin plots4m 42s
-
(Locked)
Linear relationship charts10m 47s
-
(Locked)
Jointplots5m 32s
-
(Locked)
Pairplots6m 45s
-
(Locked)
Challenge: Linear relationship charts1m 17s
-
(Locked)
Solution: Linear relationship charts5m 32s
-
(Locked)
Heatmaps5m 37s
-
(Locked)
Challenge: Heatmaps1m 27s
-
(Locked)
Solution: Heatmaps3m 50s
-
(Locked)
FacetGrid5m 47s
-
(Locked)
Matplotlib integration3m 34s
-
(Locked)
Key takeaways1m 53s
-
(Locked)
-