-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
add detail to doc string in Line3DCollection #29614
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
lib/mpl_toolkits/mplot3d/art3d.py
Outdated
""" | ||
Parameters | ||
---------- | ||
segments : list of (N, 3) array-like |
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.
This is actually named lines
here.
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.
Not mandatory, but while at it, it would be a good idea to also expand the class part of the docstring.
Ping @marbled-toast do you plan to continue with this? |
Ping @timhoffm I do plan to continue. I will have some time on Thursday this week. |
lib/mpl_toolkits/mplot3d/art3d.py
Outdated
`~.path.Path.CLOSEPOLY`. | ||
|
||
**kwargs | ||
Forwarded to `.Collection`. |
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.
Please fix this linter error and make the line spacing for the Parameters consistent, and then it looks good to me!
Also, why is zorder being mentioned here? It has been a long time since I
looked at the code, but I'm pretty sure it gets ignored?
…On Wed, Mar 12, 2025 at 8:47 AM Scott Shambaugh ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In lib/mpl_toolkits/mplot3d/art3d.py
<#29614 (comment)>
:
> + antialiaseds : bool or list of bool, default: :rc:`lines.antialiased`
+ Whether to use antialiasing for each line.
+ zorder : float, default: 2
+ zorder of the lines once drawn.
+
+ facecolors : :mpltype:`color` or list of :mpltype:`color`, default: 'none'
+ When setting *facecolors*, each line is interpreted as a boundary
+ for an area, implicitly closing the path from the last point to the
+ first point. The enclosed area is filled with *facecolor*.
+ In order to manually specify what should count as the "interior" of
+ each line, please use `.PathCollection` instead, where the
+ "interior" can be specified by appropriate usage of
+ `~.path.Path.CLOSEPOLY`.
+
+ **kwargs
+ Forwarded to `.Collection`.
Please fix this linter error and make the line spacing for the Parameters
consistent, and then it looks good to me!
—
Reply to this email directly, view it on GitHub
<#29614 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACHF6CYLBGVMCPHYXI7WPL2UAUHLAVCNFSM6AAAAABXBBNGDCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDMNZYGM2TONZRHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Right, |
PR summary
closes issue #26739
Updates
Line3DCollection
doc string to be similar to that ofLineCollection
doc string parameters.PR checklist