Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Clarify that parameters to gridded data plotting functions are p… #28054

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 1 commit into from
Apr 10, 2024

Conversation

timhoffm
Copy link
Member

…ositional-only

Closes #28047 and the already closed #11526.

This introduces the positional-only marker / into the call signatures (pcolorfast already had it). While IIRC I originally opted against adding it for simplicity, the above issues show that this is not clear enough. It's helpful for experienced people and I believe it does not distract people who don't know what it is too much because it's here always at the end before **kwargs.

Additionally, it does not hurt to spell it out in text as well.

…ositional-only

Closes matplotlib#28047 and the already closed matplotlib#11526.

This introduces the positional-only marker `/` into the call
signatures (`pcolorfast` already had it). While IIRC I originally
opted against adding it for simplicity, the above issues show that
this is not clear enough. It's helpful for experienced people and
I believe it does not distract people who don't know what it is too
much because it's here always at the end before **kwargs.

Additionally, it does not hurt to spell it out in text as well.
@timhoffm timhoffm added this to the v3.10.0 milestone Apr 10, 2024
Copy link
Member

@tacaswell tacaswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can self-merge on green

@timhoffm timhoffm merged commit 2360c59 into matplotlib:main Apr 10, 2024
43 checks passed
@timhoffm timhoffm deleted the pos-only branch April 10, 2024 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants