Skip to content

Fix decenter of image in gallery thumbnails #21129

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

Merged
merged 1 commit into from
Sep 19, 2021

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