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

Skip to content

Commit af10a6b

Browse files
Modified docstring of the set_ylabel and set_xlabel methods
1 parent 9a8df49 commit af10a6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ 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 and tick labels.
210210
211211
Other Parameters
212212
----------------
@@ -238,7 +238,7 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, **kwargs):
238238
The label text.
239239
240240
labelpad : scalar, optional, default: None
241-
Spacing in points between the label and the y-axis.
241+
Spacing in points from the axes bounding box including ticks and tick labels.
242242
243243
Other Parameters
244244
----------------

0 commit comments

Comments
 (0)