Skip to content

Commit 48e9ec7

Browse files
authored
Merge pull request #26676 from timhoffm/doc-linecollection
[DOC] Slightly improve the LineCollection docstring
2 parents e9f1d7b + 2bf2397 commit 48e9ec7

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy