We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parentsf1657fe +abd01e7 commitb0e372aCopy full SHA for b0e372a
lib/matplotlib/collections.py
@@ -1612,14 +1612,13 @@ def __init__(self, segments, # Can be None.
1612
"""
1613
Parameters
1614
----------
1615
- segments : list of array-like
1616
- A sequence(*line0*, *line1*, *line2*) of lines,where each line is alist
1617
-of points::
+ segments : list of(N, 2)array-like
+ A sequence``[line0,line1, ...]``where each line is a(N, 2)-shape
+array-like containing points::
1618
1619
-lineN = [(x0, y0), (x1, y1), ... (xm, ym)]
+line0 = [(x0, y0), (x1, y1), ...]
1620
1621
- or the equivalent Mx2 numpy array with two columns. Each line
1622
- can have a different number of segments.
+ Each line can contain a different number of points.
1623
linewidths : float or list of float, default: :rc:`lines.linewidth`
1624
The width of each line in points.
1625
colors : :mpltype:`color` or list of color, default: :rc:`lines.color`