plt.figure(figsize = (20,6)) code example Example: increase figure size in matplotlib plt.figure(figsize=(20,10))