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 generation is not working for plotly plots #1238

Open
tkaraouzene opened this issue Dec 5, 2023 · 1 comment
Open

Thumbnail generation is not working for plotly plots #1238

tkaraouzene opened this issue Dec 5, 2023 · 1 comment

Comments

@tkaraouzene
Copy link

Hi everyone and thanks for your library,

I'm trying to generate thumbnails for my examples using plotly library.

Here is a subtract of my conf.py

from plotly.io._sg_scraper import plotly_sg_scraper

# Sphinx gallery configuration
pio.renderers.default = "sphinx_gallery_png"
sphinx_gallery_conf = {
    ...
    "image_scrapers": ("matplotlib", plotly_sg_scraper),
} 

I have:

  • kaleido=0.2.1
  • sphinx-gallery=0.15.0

Despite that I have no thumbnails generated for any of my plots.
Any help would be welcome.

Thanks

@larsoner
Copy link
Contributor

larsoner commented Dec 5, 2023

I think this is expected behavior based on the fact that it also happens here

https://sphinx-gallery.github.io/stable/auto_plotly_examples/index.html

Can you open an issue with the plotly folks? I think it is something they'll need to fix at their end as they maintain their 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

2 participants