Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6804c91

Browse files
committed
Add stem container documentation
1 parent f2c2e54 commit 6804c91

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/matplotlib/container.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,16 @@ def __init__(self, lines, has_xerr=False, has_yerr=False, **kwargs):
123123

124124

125125
class StemContainer(Container):
126-
127126
def __init__(self, markerline_stemlines_baseline, **kwargs):
127+
'''
128+
Parameters
129+
----------
130+
markerline_stemlines_baseline : tuple
131+
Tuple of ``(markerline, stemlines, baseline)``.
132+
``markerline`` contains the `LineCollection` of the markers,
133+
``stemlines`` is a list of the `Line2D` of each line,
134+
``baseline`` is the `Line2D` of the baseline.
135+
'''
128136
markerline, stemlines, baseline = markerline_stemlines_baseline
129137
self.markerline = markerline
130138
self.stemlines = stemlines

0 commit comments

Comments
 (0)