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