We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e825bd commit 1c2477dCopy full SHA for 1c2477d
examples/pylab_examples/equal_aspect_ratio.py
@@ -14,7 +14,7 @@
14
plt.title('About as simple as it gets, folks')
15
plt.grid(True)
16
17
-plt.axes().set_aspect('equal', 'datalim')
+plt.gca().set_aspect('equal', 'datalim')
18
19
20
plt.show()
0 commit comments