Skip to content

Add a short example to StrMethodFormatter docstring#31419

Merged
jklymak merged 1 commit intomatplotlib:mainfrom
dstansby:str-formatter-example
Mar 28, 2026
Merged

Add a short example to StrMethodFormatter docstring#31419
jklymak merged 1 commit intomatplotlib:mainfrom
dstansby:str-formatter-example

Conversation

@dstansby
Copy link
Copy Markdown
Member

PR summary

A small example addition to the docstring - this would have helped me understand how to use the formatter when I was hunting round the API docs.

AI Disclosure

No AI used

PR checklist

@jklymak jklymak added the Documentation: API files in lib/ and doc/api label Mar 28, 2026
@jklymak jklymak merged commit 4859b75 into matplotlib:main Mar 28, 2026
44 of 46 checks passed
@dstansby dstansby deleted the str-formatter-example branch March 28, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants