Skip to content

Commit 425b936

Browse files
authored
Merge pull request #26740 from meeseeksmachine/auto-backport-of-pr-26676-on-v3.8.x
Backport PR #26676 on branch v3.8.x ([DOC] Slightly improve the LineCollection docstring)
2 parents d0321ee + 7852a6d commit 425b936

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/collections.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,11 +1404,12 @@ def __init__(self, segments, # Can be None.
14041404
Parameters
14051405
----------
14061406
segments : list of array-like
1407-
A sequence of (*line0*, *line1*, *line2*), where::
1407+
A sequence (*line0*, *line1*, *line2*) of lines, where each line is a list
1408+
of points::
14081409
1409-
linen = (x0, y0), (x1, y1), ... (xm, ym)
1410+
lineN = [(x0, y0), (x1, y1), ... (xm, ym)]
14101411
1411-
or the equivalent numpy array with two columns. Each line
1412+
or the equivalent Mx2 numpy array with two columns. Each line
14121413
can have a different number of segments.
14131414
linewidths : float or list of float, default: :rc:`lines.linewidth`
14141415
The width of each line in points.

0 commit comments

Comments
 (0)