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

Skip to content

Commit 111acc3

Browse files
authored
Merge pull request matplotlib#13546 from high-in-entropy/master
Modified docstring of the set_ylabel and set_xlabel
2 parents e0d3129 + 9a84637 commit 111acc3

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)