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