Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Plots don't show up in nbviewer #133

Open
choldgraf opened this issue Aug 13, 2019 · 2 comments
Open

Plots don't show up in nbviewer #133

choldgraf opened this issue Aug 13, 2019 · 2 comments

Comments

@choldgraf
Copy link

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?

@choldgraf
Copy link
Author

choldgraf commented Aug 13, 2019

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

@rj180492
Copy link

rj180492 commented Jun 1, 2022

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants