Embed static thumbnails for Plotly plots in Jupyuter Notebooks on Github?

Hi all,

I recently moved from matplotlib to plotly and I am liking it so far. I spent some time figuring if it were possible to enable a static preview of plotly plots on GitHub. Since I could not find an answer, I thought to ask it here.

I have private repo I use with my team. We have a couple of Jupyter notebooks full of interactive plotly plots. At first, we were hoping to execute the notebooks locally, and then put the executed notebooks on GitHub so that everybody could consult the results without downloading the notebooks and executing them.

This doesn’t seem to be allowed by GitHub (is it?), so interactive plots are not rendered. However, at this stage it would be enough a static version (like a high-res thumbnail) of plotly plots rendered on Github. Is there a way to achieve this that doesn’t require every member to manually switch the renderer to png or svg before committing? I guess another solution would be to show both an interactive and a static plot, but this is bloating the notebook.

Thank you for your kind help!