Answers for "matplotlib plt.axis('equal')"

1

plt equal axis

ax.axis('equal')
Posted by: Guest on June-25-2020
0

python matplotlib pyplot set axis equals

from matplotlib import pyplot as plt
plt.plot(range(5))
plt.xlim(-3, 3)
plt.ylim(-3, 3)
plt.gca().set_aspect('equal', adjustable='box')
plt.draw()
Posted by: Guest on May-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language