matplotlib aspect ratio of plots code example Example: matplotlib plt.sapect plt.figure(figsize=(10,3)) plt.plot(x,y) plt.show()