8000 Add note on repeated labels. · matplotlib/matplotlib@3abf906 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3abf906

Browse files
committed
Add note on repeated labels.
1 parent df0d790 commit 3abf906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2261,7 +2261,8 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
22612261
label for the whole dataset.
22622262
If a list is provided, it must be the same length as *x* and
22632263
labels the individual bars. For example, this may used with
2264-
lists of *color*.
2264+
lists of *color*. Note that behavior for repeated labels is
2265+
not defined and may change in the future.
22652266
22662267
xerr, yerr : float or array-like of shape(N,) or shape(2, N), optional
22672268
If not *None*, add horizontal / vertical errorbars to the bar tips.

0 commit comments

Comments
 (0)
0