Black Lives Matter. Please consider donating to Black Girls Code today.

Jupyter Notebank shows blank charts after uploading notebook to Plotly

I have several notebooks that plot charts offline which is working fine when I run the notebook on my local machine. When uploading the notebook file to plotly, there are blank gaps instead of charts (see picture and link here). Any ideas why this might be the case? I can see a Uncaught ReferenceError: requirejs is not defined in the console when trying to load notebooks in plotly.

Hi there,
That’s because you’re creating the graph with Plotly offline. At the moment, offline graphs won’t show up when uploading the notebooks (the graphs must be saved online). We’re looking into the possibility of adding this functionality now though.

Update: offline graphs should appear in uploaded notebooks now.