plotly_express
plotly_express copied to clipboard
Plots don't show up in nbviewer
I'm trying to save my notebook with plotly express figures inside, and then share them with others using nbviewer. Currently, the areas where plots show up in JupyterLab have blank spaces instead:
https://nbviewer.jupyter.org/github/jupyterhub/binder-billing/blob/master/analyze_data.ipynb?flush_cache=true
per this page I tried setting the renderer to notebook_connected
but this didn't seem to fix things.
Is there any guidance or guide on how to create plotly plots in jupyterlab, and then display them in a page like nbviewer?
I take it back! I figured it out - nbviewer just hadn't updated its cache properly. It now works! I just needed to set "flush_cache" to "True" instead of "true":
nbviewer.jupyter.org/github/jupyterhub/binder-billing/blob/master/analyze_data.ipynb?flush_cache=True
I am facing the same issue. Tried using the above method by adding "?flush_cache=True" but still the graphs are showing blank on nbviewer.
https://nbviewer.org/github/rj180492/Python/blob/main/Covid-19%20Impacts%20Analysis%20using%20Python.ipynb?flush_cache=True
Can anybody suggest something?