Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f98750 + 1c2477d commit f99c366Copy full SHA for f99c366
1 file changed
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