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