Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
QuLogic merged 1 commit into matplotlib:main from timhoffm:doc-none-as-not-given
Aug 14, 2025

Conversation

Copy link
Member

@timhoffm timhoffm commented Aug 13, 2025

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 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
Reviewers

@ivanov ivanov ivanov approved these changes

@QuLogic QuLogic QuLogic approved these changes

Assignees
No one assigned
Labels
Documentation: API files in lib/ and doc/api topic: mplot3d
Projects
None yet
Milestone
v3.11.0
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /