From the course: Python for Marketing (2019)
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Creating Matplotlib subplots - Python Tutorial
From the course: Python for Marketing (2019)
Creating Matplotlib subplots
- [Instructor] Let's get into Customizing Plots with Matplotlib. Now, a bit about matplotlib, matplotlib is essentially the underlying plotting library in Pandas and most of the tomes out there, including Seaborn. Now, the magic of matplotlib lies in subplots. This is something that I actually used to feed away from subplots a lot, because they seem awfully complicated, but I've marked up the coords that we're going to go looking at in such a way that you should be able to take it and just use it and understand what it's doing. So, let's just dive in, and I'll show you subplots. So, what essentially subplots will allow you to draw plots next to each other or overlay them on top of each other. That's essentially the purpose of what they're doing, so it creates a matplotlib axis that you can put on top of another axis or put side-by-side for an axis. So, first thing we're going to do is draw a matplotlib subplot with…
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)
Custom visualizations in Python42s
-
(Locked)
Import, explore, and plot a basic chart4m 48s
-
(Locked)
Creating Matplotlib subplots2m 59s
-
(Locked)
Plotting a secondary y-axis2m 40s
-
(Locked)
Adding x and y labels to a plot2m 40s
-
(Locked)
Rotating xticks labels on plot2m 1s
-
(Locked)
Adding a legend to a plot1m 5s
-
(Locked)
Adding a title to your plot1m 26s
-
(Locked)
Adding annotations to plots3m
-
(Locked)
Switching between Matplotlib styles1m 3s
-
(Locked)
Using a scatter plot in Seaborn1m 8s
-
(Locked)
Customizing a scatter plot in Seaborn2m 21s
-
(Locked)
Creating a Facebook Ads heatmap in Seaborn2m 56s
-
(Locked)
-
-
-
-