From 44ffb3f518afb4b9daeb8861ff9d0b44e1699b35 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 2 Feb 2021 02:22:57 -0500 Subject: [PATCH] Add units to bar_label padding documentation. --- lib/matplotlib/axes/_axes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index cd741c6c6024..592dd0d5adaf 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -2541,11 +2541,11 @@ def bar_label(self, container, labels=None, *, fmt="%g", label_type="edge", value displayed will be the position of that end-point. - 'center': label placed in the center of the bar segment, and the value displayed will be the length of that segment. - (useful for stacked bars, i.e. + (useful for stacked bars, i.e., :doc:`/gallery/lines_bars_and_markers/bar_label_demo`) padding : float, default: 0 - Distance of label from the end of the bar. + Distance of label from the end of the bar, in points. **kwargs Any remaining keyword arguments are passed through to