Charles Kelly explains how to add figures and subplots using matplotlib within Jupyter notebooks.
- [Narrator] The figures file from your…exercises file folder is pre populated with…import statements for pandas numbpie and pie plod.…As well as the style directive for GG plod.…Begin by placing your cursor in this cell,…execute this cell by pressing shift enter.…A figure is a container for the plot,…that will appear within a window.…Some plots are contained within a rectangular grid…within a figure.…We'll illustrate this with a short example.…
In this cell we create a figure with the title,…My First Figure.…Next, we create two sub plots within the figure.…The first two parameters to the subplot function…are the number of rows and the number of columns…within the rectangular grid of subplots.…The third parameter indicates the current subplot,…that is the subplot that has been referenced most recently.…In contrast to almost every other set of number things…in Python, NumbPie and Pandas.…
Numbering for subplots starts with one, rather than zero.…We chain Num Pie methods together…to create an array, with 50 random numbers,…
Watch this course to gain an overview of Pandas. Charles Kelly helps you get started with time series, data frames, panels, plotting, and visualization. All you need is a copy of the free and interactive Jupyter Notebook app to practice and follow along.
- Using the Markdown language and Jupyter Notebook
- Creating objects
- Selecting objects
- Using operations
- Merging data
- Creating series
- Creating data frames
- Creating panels
- Annotating plots and data frame plots
Skill Level Intermediate
Introduction to Data Analysis with Pythonwith Michele Vallisneri2h 16m Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
SQL for Data Reporting and Analysiswith Emma Saunders2h 16m Intermediate
1. Introduction to Notebooks
2. Pandas Overview
4. Data Frames and Panels
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.