Skip to content

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Sep 19, 2021

PR Summary

When using the default padding and the pydata-sphinx-theme, the image
is shifted away from the center. While that should be fixed in
sphinx-gallery (and I will report it there), this serves as a workaround
on the matplotlib side, because I don't think they will have it fixed
ready for the 3.5 release.

Before:
grafik

After:
grafik

When using the default padding and the pydata-sphinx-theme, the image
is shifted away from the center. While that should be fixed in
sphinx-gallery (and I will report it there), this serves as a workaround
on the matplotlib side, because I don't think they will have it fixed
ready for the 3.5 release.
@timhoffm timhoffm added this to the v3.5.0 milestone Sep 19, 2021
@timhoffm timhoffm added the Documentation: website layout/behavior/styling changes label Sep 19, 2021
@tacaswell tacaswell merged commit db6dff4 into matplotlib:master Sep 19, 2021
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Sep 19, 2021
@timhoffm timhoffm deleted the gallery-css-fig-padding branch September 19, 2021 19:48
timhoffm added a commit that referenced this pull request Sep 19, 2021
…129-on-v3.5.x

Backport PR #21129 on branch v3.5.x (Fix decenter of image in gallery thumbnails)
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request Oct 12, 2021
…ding

DOC: Fix decenter of image in gallery thumbnails
tacaswell added a commit that referenced this pull request Oct 20, 2021
DOC: Fix decenter of image in gallery thumbnails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: website layout/behavior/styling changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants