-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Improve formatting of "Anatomy of a figure" #22206
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
No visual change.
Maybe just include the static change here as well? Only change here I don't agree with is the extra brackets. I don't think they add much information at the expense of considerable clutter |
Still have to grab the static image from the doc build (too lazy to build locally). |
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.
Feel free to merge once the static image is added.
- Adapt margins - Reduce figure border width (still thick but not massive) - fontfamily: make code monospace - slightly move annotations to better places
Note I intentionally reduced the size from 800px to 750px because 750 is the max-width in the pydata-sphinx-theme. 800px would be resampled by the browser. |
Is that hi dpi though? I think in the case where we have a static image we should always serve as hi dpi. Lo dpi plots look really bad on a 2x display. |
Yes, if you Check the image it‘s 1500 px. |
@meeseeksdev backport to v3.5.x |
…206-on-v3.5.x Backport PR #22206 on branch v3.5.x (Improve formatting of "Anatomy of a figure")
PR Summary
()
when it's a function