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

Skip to content

Commit af22648

Browse files
committed
DOC: fix autoscale docstring
1 parent 4fbcc2d commit af22648

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,8 @@ def get_autoscaley_on(self):
23012301

23022302
def set_autoscale_on(self, b):
23032303
"""
2304-
Set whether autoscaling is applied to axes on the next draw.
2304+
Set whether autoscaling is applied to axes on the next draw or call to
2305+
`.Axes.autoscale_view`.
23052306
23062307
Parameters
23072308
----------
@@ -2313,7 +2314,7 @@ def set_autoscale_on(self, b):
23132314
def set_autoscalex_on(self, b):
23142315
"""
23152316
Set whether autoscaling for the x-axis is applied to axes on the next
2316-
draw.
2317+
draw or call to `.Axes.autoscale_view`.
23172318
23182319
Parameters
23192320
----------
@@ -2324,7 +2325,7 @@ def set_autoscalex_on(self, b):
23242325
def set_autoscaley_on(self, b):
23252326
"""
23262327
Set whether autoscaling for the y-axis is applied to axes on the next
2327-
draw.
2328+
draw or call to `.Axes.autoscale_view`.
23282329
23292330
Parameters
23302331
----------

0 commit comments

Comments
 (0)