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

DOC: Slightly improve the LineCollection docstring#29265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
story645 merged 1 commit intomatplotlib:mainfromtimhoffm:doc-linecollection
Dec 10, 2024
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletionslib/matplotlib/collections.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1612,14 +1612,13 @@ def __init__(self, segments, # Can be None.
"""
Parameters
----------
segments : list of array-like
A sequence(*line0*, *line1*, *line2*) of lines,where each line is alist
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::

lineN = [(x0, y0), (x1, y1), ... (xm, ym)]
line0 = [(x0, y0), (x1, y1), ...]

or the equivalent Mx2 numpy array with two columns. Each line
can have a different number of segments.
Each line can contain a different number of points.
linewidths : float or list of float, default: :rc:`lines.linewidth`
The width of each line in points.
colors : :mpltype:`color` or list of color, default: :rc:`lines.color`
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp