Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I updated my ipython notebook gist, but why didn't nbviewer update?

I updated an ipython notebook gist here:

https://gist.github.com/rsignell-usgs/aa12c2b5e8a448bda780

but the nbviewer link here:

http://nbviewer.ipython.org/gist/rsignell-usgs/aa12c2b5e8a448bda780

is still displaying my old notebook. I tried refreshing clearing the browser cache, but it still displays the old notebook.

Shouldn't it update?

like image 443
Rich Signell Avatar asked Mar 13 '15 13:03

Rich Signell


People also ask

How do I run Nbviewer?

Open https://nbviewer.jupyter.org/ and put URL of file in your repository in the textfield as shown. Press Go button to view the notebook. Both these methods display notebook file as static html. To be able to execute code in the notebook, open it using Binder application of Jupyter project.

What does save and checkpoint in Jupyter Notebook?

By default, Jupyter will autosave your notebook every 120 seconds to this checkpoint file without altering your primary notebook file. When you “Save and Checkpoint,” both the notebook and checkpoint files are updated. Hence, the checkpoint enables you to recover your unsaved work in the event of an unexpected issue.


1 Answers

This is an nbviewer FAQ.

Basically it takes about 10 minutes to update, but if you want to force it, you can add ?flush_cache=true to the nbviewer URL.

So try doing this:

http://nbviewer.ipython.org/gist/rsignell-usgs/aa12c2b5e8a448bda780?flush_cache=true 
like image 171
jsignell Avatar answered Sep 19 '22 14:09

jsignell