Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: fix fontweight options in text properties table#31533

Closed
avasis-ai wants to merge 1 commit intomatplotlib:mainfrom
avasis-ai:fix-fontweight-docs
Closed

docs: fix fontweight options in text properties table#31533
avasis-ai wants to merge 1 commit intomatplotlib:mainfrom
avasis-ai:fix-fontweight-docs

Conversation

@avasis-ai
Copy link
Copy Markdown

Summary

Fixes the list of fontweight options in the text properties table to match the valid values accepted by Text.set_fontweight().

Changes:

  • Removed invalid option 'ultrabold' (replaced with valid 'extra bold')
  • Added commonly used 'semibold' and 'black'
  • Reordered to list weights from lightest to heaviest

The previous list was outdated and included 'ultrabold' which raises ValueError: weight='ultrabold' is invalid.

Closes #31506

@github-actions github-actions Bot added the Documentation: user guide files in galleries/users_explain or doc/users label Apr 19, 2026
@rcomer
Copy link
Copy Markdown
Member

rcomer commented Apr 19, 2026

This account is opening a lot of PRs in a short space of time so I assume they are automated.
https://github.com/pulls?q=is%3Apr+author%3Aavasis-ai+archived%3Afalse+

Closing the PR and blocking the account for a week per our policy
https://matplotlib.org/devdocs/devel/contribute.html#use-of-generative-ai

@rcomer rcomer closed this Apr 19, 2026
@melissawm melissawm added the ai-contribution PRs that are AI generated without a human in the loop label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-contribution PRs that are AI generated without a human in the loop Documentation: user guide files in galleries/users_explain or doc/users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc]: fontweight options not documented correctly

3 participants