diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 6e9d01a59483..b85275bce970 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -3303,9 +3303,9 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *, xlabel : str The label text. - labelpad : float, default: None + labelpad : float, default: :rc:`axes.labelpad` Spacing in points from the axes bounding box including ticks - and tick labels. + and tick labels. If None, the previous value is left as is. loc : {'left', 'center', 'right'}, default: :rc:`xaxis.labellocation` The label position. This is a high-level alternative for passing @@ -3647,9 +3647,9 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *, ylabel : str The label text. - labelpad : float, default: None + labelpad : float, default: :rc:`axes.labelpad` Spacing in points from the axes bounding box including ticks - and tick labels. + and tick labels. If None, the previous value is left as is. loc : {'bottom', 'center', 'top'}, default: :rc:`yaxis.labellocation` The label position. This is a high-level alternative for passing
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: