When plotting figures with matplotlib you might want to change the size of the figure displayed.
So here is a quick trick to adjust the size
import matplotlib.pyplot as plt
#Inside your plot code just type the following line of code
#Set the plot width to 12 inches and height to 6 inches
plt.rcParams["figure.figsize"] = [12,6]
For more details see the figure documentation .