I'm using jupyter 4.1.0, and I find myself making frequent use of the "Restart & Run All" feature. Every time I use that button it displays this warning:
Is there a way to disable that warning?
I'm using jupyter 4.1.0, and I find myself making frequent use of the "Restart & Run All" feature. Every time I use that button it displays this warning:
Is there a way to disable that warning?
You can add a cell in your notebook and using the following statements:
from IPython.core.display import HTML
HTML("<script>Jupyter.notebook.kernel.restart()</script>")
And the kernel will restart immediately.
To answer the question that was stated: No, there isn't.
But you might make your voice heard over here so they might implement it some day.
You can create a bookmark in your browser for the following code:
javascript:Jupyter.notebook.execute_all_cells();void(0);
Clicking this bookmark runs all cells without asking for confirmation.