jupyter-contrib-nbextensions

Table of Contents disappeared in Jupyter Notebook

一笑奈何 提交于 2019-12-08 10:42:15
问题 Currently, a jupyter notebook does not show the lateral table of contents. All the other notebooks do. In fact, for that notebook under menu->edit the nbextensions config disappeared, so, it looks like that notebook does not load the extension. My jupyter version is 4.4.0. How to fix that notebook? 回答1: Apparently, all it needs is to shutdown the notebook. After restarting it, all works fine. I suppose that problem happens when the notebook has been closed wrongly without the proper "close

How to auto-update jupyter notebook extension during development/debugging?

狂风中的少年 提交于 2019-12-08 05:04:17
问题 I try to write a custom extension for the Jupyter Notebook, as described here: https://towardsdatascience.com/how-to-write-a-jupyter-notebook-extension-a63f9578a38c I use the Chrome developer tools on Windows7 to inspect and edit the Javascript source code of my custom extension. I hoped that when pressing F5 to update the page, my altered source code would be immediately applied. However, as stated in the above mentioned article, I have to run jupyter-contrib-nbextensions.exe install and