Closed Davide-sd closed 2 years ago
I think this is highly library-specific, and nearly impossible to accommodate within jupyter-sphinx. Converting a generic HTML object to a static image effectively requires using a browser rendering engine I think. For example, plotly uses a separate library kaleido
to generate static outputs.
You are totally right. I've manage to create an extension that satisfies my needs, sphinx_panel_screenshot. Thank you for pointing me in the right direction. I'm closing this issue.
I'm working on a plotting module in which each plotting function might contain in its docstring one or more examples of interactive plots with widgets. Ideally, I would like to execute and render the output of those examples. However, I've noticed a couple of issues:
One way to solve both issues might be to generate a screenshot image of the output cell, and include that instead of the actual content of the output cell.
Do you think it would be possible to implement such option?