Consider the following code
import matplotlib import matplotlib.pyplot as plt print("Version: ",matplotlib.__version__) fig = plt.figure(figsize=(5,5),