plt.figure(figsize=(1,1)) code example Example 1: plt figsize plt.figure(figsize=(20,10)) Example 2: change plot size matplotlib python plt.figure(figsize=(14,7))