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

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…

Contents