Skip to content

DOC: Clarify that types in docstrings do not use formal type annotation syntax #30132

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
Jun 3, 2025

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Jun 2, 2025

Historically, our type descriptions are "human readable" and no formal type specifiers - as is propagated by numpydoc.
This PR makes this explicit because we get more and more PRs where people write out types. For consistency, I want to stick to the current pattern for now.

@github-actions github-actions bot added the Documentation: devdocs files in doc/devel label Jun 2, 2025
@QuLogic QuLogic added this to the v3.11.0 milestone Jun 3, 2025
@QuLogic QuLogic merged commit 9120862 into matplotlib:main Jun 3, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: devdocs files in doc/devel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants