Skip to content

DOC: remove some usages of None as explicit defaults #30422

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
Aug 14, 2025

Conversation

timhoffm
Copy link
Member

In docs, we rather specify "optional" instead of "default: None" when None is only used as a sentinel for "not given". We also specify prefer concrete types or rc references over None usage if possible.

In docs, we rather specify "optional" instead of "default: None" when
None is only used as a sentinel for "not given". We also specify
prefer concrete types or rc references over None usage if possible.
@timhoffm timhoffm force-pushed the doc-none-as-not-given branch from 53db7f1 to 838cfcb Compare August 13, 2025 22:25
@timhoffm timhoffm added the Documentation: API files in lib/ and doc/api label Aug 13, 2025
Copy link
Member

@ivanov ivanov left a comment

Choose a reason for hiding this comment

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

👋 simple docs-only change, I happened to peek at an easy to review PR

@QuLogic QuLogic added this to the v3.11.0 milestone Aug 14, 2025
@QuLogic QuLogic merged commit 949ad9a into matplotlib:main Aug 14, 2025
44 checks passed
@timhoffm timhoffm deleted the doc-none-as-not-given branch August 14, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: API files in lib/ and doc/api topic: mplot3d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants