Getting ready

We will use the same data that we used for the box plot for this example also.

Import the required libraries:

import matplotlib.pyplot as plt
import pandas as pd