DOC: Clarify that types in docstrings do not use formal type annotation syntax by timhoffm · Pull Request #30132 · matplotlib/matplotlib · GitHub
Skip to content

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

Merged
QuLogic merged 1 commit into
matplotlib:mainfrom
timhoffm:doc-types
Jun 3, 2025
Merged

QuLogic merged 1 commit into
matplotlib:mainfrom
timhoffm:doc-types

Conversation

@timhoffm

@timhoffm timhoffm commented Jun 2, 2025

Copy link
Copy Markdown
Member

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