My bad, You actually have to call the following method:
Jupyter.notebook.set_autosave_interval(int) The periodic callback that autosave lives on the Javascript VM, and we need to cancel it, which assigning to minimum_autosave_interval does not do (as javascript does not have properties in the Python sens) You should see a quick "Autosave Disabled" in the upper-right corner when you do so (next to the kernel name). -- M On Fri, Mar 3, 2017 at 9:56 AM, DG <[email protected]> wrote: > I am now totally confused. > > Here's a way to check what the autosave interval is: > > %%javascript > var nb = Jupyter.notebook; > var interval = nb.minimum_autosave_interval > nb.kernel.execute("NB_interval = '" + interval + "'"); > > This put 10000 into the variable NB_interval. It must be some default vale. > > Then, I tried changing the autosave interval to 0 with: > %%javascript > var nb = Jupyter.notebook; > var interval = nb.minimum_autosave_interval = 0; > > Previous script confirms NB_interval is not 0. > > Well, even now, autosave is still on. WTF? > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/61fb06a0-5cd7-4c46-a56c-e0c4613b897c%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CANJQusXD8ZauXSpPgz%3DdweGcFe%3DCrqgGvsfGHqXzueOKRxa-Hw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
