From the course: Data Visualization with Python in Excel
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Challenge: Create a multipanel plot with Matplotlib
From the course: Data Visualization with Python in Excel
Challenge: Create a multipanel plot with Matplotlib
(vibrant music) - [Presenter] In this chapter, you've learned the nuts and bolts of Matplotlib for data visualization. While it's easy to create basic plots with Matplotlib, building more complex plots can quickly become complicated. These are often the ones you actually want to create with Matplotlib because they're difficult to achieve with Excel only. So for this challenge, I'm going to offer you a bit of a compromise. Let's open Matplotlib challenge to see what I mean. Here you'll find a pretty straightforward weather dataset, and what I want you to do is this, create a two panel plot in Matplotlib. We briefly talked about creating multi panel plots in the first video of this chapter, so take a look back if you don't remember. Now, keep in mind, because we only have two panels, we're only going to be displaying this across a single row or column, not a two by two grid like before. That means we only need to index in one dimension. So your first subplot should use [0], and your…
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.