Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
440
Star
5,570
Fork
2,666
matplotlib
/
matplotlib
Code
Issues
992
Pull requests
228
Projects
5
Wiki
Insights
Pulse
Graphs
use plt.gca instead of plt.axes for already exhisting implicit axes
#8097
Merged
NelleV
merged 1 commit into
matplotlib
:
master
from
unknown repository
Feb 18, 2017
Conversation
2
Commits
1
Files changed
1
Changes from
all commits
Commits
Show all changes
1 commit
Select commit
1c2477d
use plt.gca instead of plt.axes for already exhisting implicit axes
patniharshit
Feb 18, 2017
1 file
Jump to file
No files or symbols found.
+1
−1
equal_aspect_ratio.py
examples/pylab_examples/equal_aspect_ratio.py
+1
−1
Unified
Split
Show comments
View
2
examples/pylab_examples/equal_aspect_ratio.py
@@ -14,7 +14,7 @@
plt.title(
'
About as simple as it gets, folks
'
)
plt.grid(
True
)
-plt.
axes
().set_aspect(
'
equal
'
,
'
datalim
'
)
+plt.
gca
().set_aspect(
'
equal
'
,
'
datalim
'
)
plt.show()
Toggle all file notes
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.