pyplot change size of graph code example
Example 1: increase figure size in matplotlib
plt.figure(figsize=(20,10))
Example 2: plot size
fig.set_size_inches(18.5, 10.5, forward=True)
plt.figure(figsize=(20,10))
fig.set_size_inches(18.5, 10.5, forward=True)