8000 Merge pull request #13558 from meeseeksmachine/auto-backport-of-pr-13… · matplotlib/matplotlib@36acbcd · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 36acbcd

Browse files
authored
Merge pull request #13558 from meeseeksmachine/auto-backport-of-pr-13546-on-v3.1.x
Backport PR #13546 on branch v3.1.x ( Modified docstring of the set_ylabel and set_xlabel)
2 parents 4fe1b00 + 0d6e044 commit 36acbcd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, **kwargs):
206206
The label text.
207207
208208
labelpad : scalar, optional, default: None
209-
Spacing in points between the label and the x-axis.
209+
Spacing in points from the axes bounding box including ticks
210+
and tick labels.
210211
211212
Other Parameters
212213
----------------
@@ -238,7 +239,8 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, **kwargs):
238239
The label text.
239240
240241
labelpad : scalar, optional, default: None
241-
Spacing in points between the label and the y-axis.
242+
Spacing in points from the axes bounding box including ticks
243+
and tick labels.
242244
243245
Other Parameters
244246
----------------

0 commit comments

Comments
 (0)
0