Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ea68032

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.