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