from pylab import rcParams rcParams['figure.figsize'] = 20, 10 code example Example: plt figsize plt.figure(figsize=(20,10))