Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
DOC: ensure that the bounding box is scaled with dpi in example#26265
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
https://output.circle-artifacts.com/output/job/dc624ab1-ecc5-4596-b11b-e7cefc22db2e/artifacts/0/doc/build/html/users/explain/figure/figure_intro.html#saving-figures is the section of interest and should look right in both the 1x and 2x pngs. |
Thanks for fixing this. There should be a straightforward way to do this, but this dance seems fine, particularly as this code is not very public. |
closes#26264
The three changes are:
FancyBboxPatch
to 0fancy
to befig.dpi_scale_trans
so at draw time it goes back to the correct pixels