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

Skip to content

Add rcparam for figure label size and weight #22566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 4, 2022

Conversation

oscargus
Copy link
Member

@oscargus oscargus commented Feb 26, 2022

PR Summary

Closes #22564

Add figure.labelsize and figure.labelweight rcParams to set figure label size and weight different from title.

Test added also for titlesize/-weight rcParams as I didn't find any.

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • [N/A] New features are documented, with examples if plot related.
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [N/A] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

@oscargus oscargus marked this pull request as draft February 26, 2022 17:12
@oscargus oscargus force-pushed the titlesizeweight branch 6 times, most recently from 6e5183f to bae5ca0 Compare February 27, 2022 11:51
@oscargus oscargus force-pushed the titlesizeweight branch 5 times, most recently from bd60836 to 11cf794 Compare March 6, 2022 14:14
@oscargus oscargus marked this pull request as ready for review March 6, 2022 14:52
Copy link
Member

@jklymak jklymak left a comment

Choose a reason for hiding this comment

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

This seems good. Needs a rebase, so I'll pop to draft until that is done. You also self-review, but don't seem to have merged your suggestions yet....

@jklymak jklymak marked this pull request as draft May 18, 2022 07:07
@oscargus
Copy link
Member Author

Thanks! I'll try to sort it out. I thought there were more to do here (related to a discussion in another PR about how to deal with default values, but I clearly forgot about the status as well).

@oscargus oscargus force-pushed the titlesizeweight branch 2 times, most recently from 31c3402 to fc5c6c4 Compare May 26, 2022 13:32
@oscargus
Copy link
Member Author

Rebased.

@oscargus oscargus marked this pull request as ready for review May 26, 2022 13:34
@oscargus oscargus added this to the v3.6.0 milestone Jun 12, 2022
@oscargus
Copy link
Member Author

Please squash-merge. I have a bit of an issue with a rebase setting in my new git-install, so I do not dare to touch it in some situations...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENH]: Font weight for Figure title and labels
3 participants