Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

From Jupyter notebook to Sphinx documentation

I generated some in-line plots in a Jupyter notebook:

import plotly.offline as py


I’m then using nbsphinx to convert this Jupyter notebook to HTML, but the plotly plots aren’t showing up. Plots that I made with matplotlib show up in the docs just fine.

What I want to do is replicate It has Jupter notebook style in and out blocks, and it shows interactive plots made using plotly. How can I do that?