Skip to content

Commit ea68032

Browse files
authored
Merge pull request #19425 from QuLogic/barlabel-units
Add units to bar_label padding documentation.
2 parents edb0dd3 + 44ffb3f commit ea68032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2541,11 +2541,11 @@ def bar_label(self, container, labels=None, *, fmt="%g", label_type="edge",
25412541
value displayed will be the position of that end-point.
25422542
- 'center': label placed in the center of the bar segment, and the
25432543
value displayed will be the length of that segment.
2544-
(useful for stacked bars, i.e.
2544+
(useful for stacked bars, i.e.,
25452545
:doc:`/gallery/lines_bars_and_markers/bar_label_demo`)
25462546
25472547
padding : float, default: 0
2548-
Distance of label from the end of the bar.
2548+
Distance of label from the end of the bar, in points.
25492549
25502550
**kwargs
25512551
Any remaining keyword arguments are passed through to

0 commit comments

Comments
 (0)