Documentation Link
https://matplotlib.org/devdocs/users/explain/text/text_props.html
Problem
The list of options for font weights in the narrative documentation seems to be out of date, for example the option "ultrabold" raises ValueError: weight='ultrabold' is invalid.
Suggested improvement
The up-to-date list of options is given in the API docs: https://matplotlib.org/stable/api/text_api.html#matplotlib.text.Text.set_fontweight, the narrative documentation should be changed to agree.
Documentation Link
https://matplotlib.org/devdocs/users/explain/text/text_props.html
Problem
The list of options for font weights in the narrative documentation seems to be out of date, for example the option
"ultrabold"raisesValueError: weight='ultrabold' is invalid.Suggested improvement
The up-to-date list of options is given in the API docs: https://matplotlib.org/stable/api/text_api.html#matplotlib.text.Text.set_fontweight, the narrative documentation should be changed to agree.