Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7aed240

Browse files
authored
Merge pull request #22615 from greglucas/fix-axis-map
FIX: Change get_axis_map to axis_map now
2 parents cb8680f + 816cc4f commit 7aed240

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ def in_axes(self, mouseevent):
25792579
def get_autoscale_on(self):
25802580
"""Return True if each axis is autoscaled, False otherwise."""
25812581
return all(axis._get_autoscale_on()
2582-
for axis in self._get_axis_map().values())
2582+
for axis in self._axis_map.values())
25832583

25842584
def set_autoscale_on(self, b):
25852585
"""
@@ -2590,7 +2590,7 @@ def set_autoscale_on(self, b):
25902590
----------
25912591
b : bool
25922592
"""
2593-
for axis in self._get_axis_map().values():
2593+
for axis in self._axis_map.values():
25942594
axis._set_autoscale_on(b)
25952595

25962596
@property

0 commit comments

Comments
 (0)