Skip to content

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

Merged
merged 3 commits into from
Apr 16, 2025

Conversation

marbled-toast
Copy link
Contributor

PR summary

closes issue #26739

Updates Line3DCollection doc string to be similar to that of LineCollection doc string parameters.

PR checklist

"""
Parameters
----------
segments : list of (N, 3) array-like
Copy link
Member

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.

Copy link
Member

@timhoffm timhoffm left a 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.

@timhoffm
Copy link
Member

Ping @marbled-toast do you plan to continue with this?

@marbled-toast
Copy link
Contributor Author

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.

@marbled-toast marbled-toast marked this pull request as draft February 23, 2025 19:13
@marbled-toast marbled-toast marked this pull request as ready for review February 23, 2025 19:20
`~.path.Path.CLOSEPOLY`.

**kwargs
Forwarded to `.Collection`.
Copy link
Contributor

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!

@scottshambaugh scottshambaugh added the Documentation: API files in lib/ and doc/api label Mar 12, 2025
@WeatherGod
Copy link
Member

WeatherGod commented Mar 12, 2025 via email

@timhoffm
Copy link
Member

Right, zorder was just copied from the LineCollection docstring, but because of the 3D projection, that value does not have a meaning for Line3DCollection and should be removed.

@marbled-toast marbled-toast marked this pull request as draft March 26, 2025 13:17
@github-actions github-actions bot removed the Documentation: API files in lib/ and doc/api label Mar 26, 2025
@marbled-toast marbled-toast marked this pull request as ready for review March 26, 2025 14:30
@marbled-toast marbled-toast marked this pull request as draft March 27, 2025 01:00
@marbled-toast marbled-toast marked this pull request as ready for review March 27, 2025 20:43
@timhoffm timhoffm merged commit 5ab47bb into matplotlib:main Apr 16, 2025
36 of 41 checks passed
@QuLogic QuLogic added this to the v3.11.0 milestone Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
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