matplotlib.pyplot, preserve aspect ratio of the plot July 12, 2023 by Tarik Does it help to use: plt.axis('equal')