Issue
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?
Solution
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.
Answered By - kingbase
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.