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