-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Clarify tutorial "Customizing Matplotlib with style sheets and rcParams" #20812
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for opening your first PR into Matplotlib!
If you have not heard from us in a while, please feel free to ping @matplotlib/developers
or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.
You can also join us on gitter for real-time discussion.
For details on testing, writing docs, and our review process, please see the developer guide
We strive to be a welcoming and open project. Please follow our Code of Conduct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this! I left some comments that would be good to address but are not deal-breakers.
Good to merge once the docs build cleanly!
f3af5c6
to
08bb99d
Compare
08bb99d
to
8798842
Compare
I hope I understood your concerns correctly and addressed them appropriately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still approve!
Clarify that only the rcParam that is not related to style is ignored instead of the entire style sheet.
* Include `STYLE_BLACKLIST` in the documentation of `matplotlib.style.use` in alphabetical order. * Print list of rcParams in `matplotlib.RcParams` in alphabetical order. * Fix broken links to `.style.available` in `lib/matplotlib/style/core.py`.
8798842
to
36fac22
Compare
36fac22
to
117b4a1
Compare
Thanks @andthum! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again. |
Thank you @QuLogic, and thank you all for your great work on Matplotlib! It was a pleasure to contribute back a tiny piece. |
PR Summary
Closes #20800
The tutorial Customizing Matplotlib with style sheets and rcParams was not clear about what rcParams can be set in style sheets. The blacklist of rcParams that cannot be set in style sheets is now documented in the docstring of
matplotlib.style.use
and the tutorial links to this blacklist.PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).