Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Doc]: Animation doc thumbnails are misaligned. #22373

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

Closed
anntzer opened this issue Feb 1, 2022 · 3 comments
Closed

[Doc]: Animation doc thumbnails are misaligned. #22373

anntzer opened this issue Feb 1, 2022 · 3 comments
Milestone

Comments

@anntzer
Copy link
Contributor

anntzer commented Feb 1, 2022

Documentation Link

https://matplotlib.org/devdocs/gallery/index#animation

Problem

Example thumbnails are normally aligned over 4 columns, but the animation thumbnails are misaligned.
Screenshot

Suggested improvement

Align the thumbnails.

Matplotlib Version

HEAD (3.6.0.dev1512)

@QuLogic
Copy link
Member

QuLogic commented Feb 2, 2022

The images have a max height and width, and the Rain animation is taller than it is wide, so it ends up thinner than (almost?) all other thumbnails. The thumbnail container does not have a fixed width, and adding one would fix this.

@QuLogic
Copy link
Member

QuLogic commented Feb 4, 2022

Maybe the CSS changes in sphinx-gallery/sphinx-gallery#906 will help with this?

@QuLogic
Copy link
Member

QuLogic commented Sep 14, 2022

I think this is fixed in 3.5.3 due to the new sphinx-gallery.

@QuLogic QuLogic closed this as completed Sep 14, 2022
@QuLogic QuLogic added this to the v3.5.3 milestone Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants