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
Allow WCSAxes ticklabels to be rasterized #14760
Conversation
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
👋 Thank you for your draft pull request! Do you know that you can use |
424b082
to
0c7021d
Compare
0c7021d
to
54331bd
Compare
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
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.
Looks good to me, thanks!
Thanks! |
This refactors code in
WCSAxes
to allow ticklabels to be rasterized. This required modifying the signature ofdraw()
so it can work with onlyrenderer
passed as an argument.Using the example given in #12568, this improves the resulting plot from
to
Part 3/4 of #12672, and part of fixing #12568.