How do I create a plot where the scales of x-axis
and y-axis
are the same?
This equal ratio should be maintained even if I change the window size. Currently, my graph scales together with the window size.
I tried:
plt.xlim(-3, 3)
plt.ylim(-3, 3)
plt.axis('equal')