Skip to content

Examples gallery thumbnails are sometimes poorly representative #160

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

Open
JohnGoertz opened this issue May 20, 2021 · 1 comment
Open

Examples gallery thumbnails are sometimes poorly representative #160

JohnGoertz opened this issue May 20, 2021 · 1 comment
Labels

Comments

@JohnGoertz
Copy link
Contributor

It seems that the examples gallery auto-generates thumbnails by grabbing the last figure in a notebook. However, this has often resulted in thumbnails that are either un-informative or even mis-informative. For example, the thumbnail for GP-circular is actually a contrasting example the author provided of how not to make a circular GP. In a similar vein, the "Mauna Loa continued" thumbnail is not particularly informative.

Perhaps the notebooks could be tweaked to simply put a more useful figure last, or thumbnails could be specified via a cell metadata tag in the notebooks, or a thumbnail could be uploaded separately from the notebook?

@OriolAbril
Copy link
Member

having no idea how thumbnail generation works, the metadata option sounds good. I think it was @ColCarroll who wrote the sphinx extension to add example to the gallery so he may have better insight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants