matplotlib rcparams figsize code example
Example 1: matplotlib set size
plt.figure(figsize=(20,8))
Example 2: plot size
fig.set_size_inches(18.5, 10.5, forward=True)
plt.figure(figsize=(20,8))
fig.set_size_inches(18.5, 10.5, forward=True)