matplotlib get current figure size code example
Example 1: plot size
fig.set_size_inches(18.5, 10.5, forward=True)
Example 2: plot size
from matplotlib.pyplot import figure
figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')
fig.set_size_inches(18.5, 10.5, forward=True)
from matplotlib.pyplot import figure
figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')