-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9f51fb3
to
93cf2e8
Compare
93cf2e8
to
cec1805
Compare
lib/matplotlib/collections.py
Outdated
of points:: | ||
segments : list of (N, 2) array-like | ||
A sequence ``[line0, line1, ...]`` where each line is a (N, 2)-shape | ||
array-like representing points:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array-like representing points:: | |
array-like containing points:: |
lib/matplotlib/collections.py
Outdated
|
||
or the equivalent Mx2 numpy array with two columns. Each line | ||
can have a different number of segments. | ||
Each line can have a different number of segments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each line can have a different number of segments. | |
Each line can contain a different amount of points. |
It's a bit unclear to me what this is referencing b/c the parameter segments is the list of lines and we don't give the segments is section between points definition here & I think what you mean here is the latter.
cec1805
to
aa34c8a
Compare
…265-on-v3.10.x Backport PR #29265 on branch v3.10.x (DOC: Slightly improve the LineCollection docstring)
Closes #26738.