Getting ready

Import the required library:

 import matplotlib.pyplot as plt