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

Skip to content

Commit 7ce2f67

Browse files
authored
Merge pull request #18671 from jklymak/doc-clearer-autoscale
DOC: fix autoscale docstring
2 parents 6c3d8da + af22648 commit 7ce2f67

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,7 +2302,8 @@ def get_autoscaley_on(self):
23022302

23032303
def set_autoscale_on(self, b):
23042304
"""
2305-
Set whether autoscaling is applied on plot commands
2305+
Set whether autoscaling is applied to axes on the next draw or call to
2306+
`.Axes.autoscale_view`.
23062307
23072308
Parameters
23082309
----------
@@ -2313,7 +2314,8 @@ def set_autoscale_on(self, b):
23132314

23142315
def set_autoscalex_on(self, b):
23152316
"""
2316-
Set whether autoscaling for the x-axis is applied on plot commands
2317+
Set whether autoscaling for the x-axis is applied to axes on the next
2318+
draw or call to `.Axes.autoscale_view`.
23172319
23182320
Parameters
23192321
----------
@@ -2323,7 +2325,8 @@ def set_autoscalex_on(self, b):
23232325

23242326
def set_autoscaley_on(self, b):
23252327
"""
2326-
Set whether autoscaling for the y-axis is applied on plot commands
2328+
Set whether autoscaling for the y-axis is applied to axes on the next
2329+
draw or call to `.Axes.autoscale_view`.
23272330
23282331
Parameters
23292332
----------

0 commit comments

Comments
 (0)