Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7852a6d

Browse filesBrowse files
oscargusmeeseeksmachine
authored andcommitted
Backport PR #26676: [DOC] Slightly improve the LineCollection docstring
1 parent d0321ee commit 7852a6d
Copy full SHA for 7852a6d

File tree

1 file changed

+4
-3
lines changed
Filter options

1 file changed

+4
-3
lines changed

‎lib/matplotlib/collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/collections.py
+4-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.