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