Skip to content

Commit 9bb3161

Browse files
committed
add doc for BarContainer attr
1 parent 3f2ece5 commit 9bb3161

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/matplotlib/container.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ class BarContainer(Container):
6060
A container for the error bar artists if error bars are present.
6161
*None* otherwise.
6262
63+
datavalues : None or array-like
64+
The underlying data values corresponding to the bars.
65+
66+
orientation : {'vertical', 'horizontal'}, default: None
67+
If 'vertical', the bars are assumed to be vertical.
68+
If 'horizontal', the bars are assumed to be horizontal.
69+
6370
"""
6471

6572
def __init__(self, patches, errorbar=None, *, datavalues=None,

0 commit comments

Comments
 (0)