Skip to content

Conversation

@Davide-sd
Copy link

As I'm looking to use this Sphinx extension on my module, considering the high number of plots (many of which are 3D plots that requires a lot of bandwidth and really slows down the rendering of the page), I figured that it would be nice to visualize png plots.

This commits modifies save_plotly_figure and add a couple of tests to verify its correct behaviour.

Users can set the following on conf.py (for example):

plotly_formats = ["png", "html", "pdf"]

This will visualize png by default, also adding links to a html and pdf versions.

As I'm looking to use this Sphinx extension on my module, considering the
high number of plots (many of which are 3D plots that requires a lot of
bandwidth and really slows down the rendering of the page), I figured
that it would be nice to visualize png plots.

This commits modifies `save_plotly_figure` and add a couple of tests to
verify its correct behaviour.

Users can set the following on `conf.py` (for example):

plotly_formats = ["png", "html", "pdf"]

This will visualize png by default, also adding links to a html and pdf
versions.
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

Successfully merging this pull request may close these issues.

1 participant