Skip to content

Modified docstring of the set_ylabel and set_xlabel #13546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, **kwargs):
The label text.

labelpad : scalar, optional, default: None
Spacing in points between the label and the x-axis.
Spacing in points from the axes bounding box including ticks
and tick labels.

Other Parameters
----------------
Expand Down Expand Up @@ -238,7 +239,8 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, **kwargs):
The label text.

labelpad : scalar, optional, default: None
Spacing in points between the label and the y-axis.
Spacing in points from the axes bounding box including ticks
and tick labels.

Other Parameters
----------------
Expand Down