Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb0e372a

Browse files
authored
Merge pull request#29279 from meeseeksmachine/auto-backport-of-pr-29265-on-v3.10.x
Backport PR#29265 on branch v3.10.x (DOC: Slightly improve the LineCollection docstring)
2 parentsf1657fe +abd01e7 commitb0e372a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎lib/matplotlib/collections.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,14 +1612,13 @@ def __init__(self, segments, # Can be None.
16121612
"""
16131613
Parameters
16141614
----------
1615-
segments : list of array-like
1616-
A sequence(*line0*, *line1*, *line2*) of lines,where each line is alist
1617-
of points::
1615+
segments : list of(N, 2)array-like
1616+
A sequence``[line0,line1, ...]``where each line is a(N, 2)-shape
1617+
array-like containing points::
16181618
1619-
lineN = [(x0, y0), (x1, y1), ... (xm, ym)]
1619+
line0 = [(x0, y0), (x1, y1), ...]
16201620
1621-
or the equivalent Mx2 numpy array with two columns. Each line
1622-
can have a different number of segments.
1621+
Each line can contain a different number of points.
16231622
linewidths : float or list of float, default: :rc:`lines.linewidth`
16241623
The width of each line in points.
16251624
colors : :mpltype:`color` or list of color, default: :rc:`lines.color`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp