Skip to content

Conversation

DominikStiller
Copy link
Contributor

This PR documents the valid values and scaling factors for relative font sizes (xx-small, x-small, ...). Additionally, all mentions of smaller/larger are removed from other code since they remain undocumented.

Closes #30437

@github-actions github-actions bot added topic: styles topic: contour Documentation: examples files in galleries/examples Documentation: user guide files in galleries/users_explain or doc/users labels Aug 17, 2025
Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s a bit unfortunate that we are not in line with CSS semantics, but I think this is overall an improvement and undocumenting smaller/larger makes it simpler.

@timhoffm timhoffm merged commit b132b5b into matplotlib:main Aug 17, 2025
39 checks passed
@timhoffm
Copy link
Member

Thanks @DominikStiller and congratulations on your first contribution to Matplotlib 🎉 . We‘d welcome to see you back!

@DominikStiller DominikStiller deleted the relative-font-sizes branch August 17, 2025 23:19
@QuLogic QuLogic added this to the v3.11.0 milestone Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: examples files in galleries/examples Documentation: user guide files in galleries/users_explain or doc/users topic: contour topic: styles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Doc]: Clarification of relative font sizes
3 participants