Skip to content
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

Thumbnail doesn't show in the gallery #3

Open
adosar opened this issue Jun 12, 2024 · 0 comments
Open

Thumbnail doesn't show in the gallery #3

adosar opened this issue Jun 12, 2024 · 0 comments

Comments

@adosar
Copy link

adosar commented Jun 12, 2024

According to the docs, the first generated image will be used as thumbnail. Is this true also for the Plotly scrapper?

Although the Plotly figures are interactive and are correctly embedded into Sphinx documentation, they don't show as thumbnail in the gallery. Here is my configuration:

from plotly.io._sg_scraper import plotly_sg_scraper

sphinx_gallery_conf = {
     'examples_dirs': 'examples',   # path to your example scripts
     'gallery_dirs': 'auto_examples',  # path to where to save gallery generated output
     'image_scrapers': (plotly_sg_scraper,),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant