So far, we have learned how to plot multiple plots on a single axes and multiple axes in a figure. In this recipe, we will learn how to plot multiple figures in a given session.
Plotting multiple figures in a session
Getting ready
We will use same Iris dataset in this example also. We will plot two figures, and multiple plots in each of them. In the first figure, we will use another method to create a grid with different-sized plots.
Import the required libraries:
import matplotlib.pyplot as plt
import pandas as pd
How to do it...
The following code block plots two figures...