From 32e2d446e00b9af21f6de4e86aca9b1589b9d123 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 30 Jan 2021 21:41:08 +0100 Subject: [PATCH] Improve doc of default labelpad. --- lib/matplotlib/axes/_base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy