Jupyter Notebook and nbextensions

As you may have picked up on since you mentioned ‘deprecated’, I think you may be referencing some outdated resources. ’ jupyter_contrib_nbextensions’ is not for anything you have on your machine. There are ways to support it; however, those are being phased out and at this point, since you are just getting started, you are probably better off sticking with the current stuff that is still being developed actively and will continue to be.
These days, for most modern extensions you don’t need to enable/activate as that now gets handled by installing properly. This was not the case with Notebook 6.4 and earlier. However, you are using Notebook 7+, which is based on JupyterLab components. That being the case, I am surprised the extension you reference does not work in Jupyter Notebook 7+. (I do see this issue post that has two people saying that the button isn’t there, but there is no response and no one else has posted there. I tried the mybinder launch button to see if I could see what happened in the Notebook interface but the configuration needs fixing as the session from ‘launch binder’ fails.)

Given those issues, you may want to check this one, jupyter-ruff out that states it works in both interfaces. Read more about it here. I note that the demo seems to launch correctly by clicking the ‘launch binder’ badge (or click here) directly and it has a nice, active in-session guide that steps you through using it and the options.

I don’t know the answer to adjust the properties of the area on the left that you want. I will say though that you don’t really want giant notebooks as they are going to cause you headaches. You probably should be making more smaller notebooks or using Python/IPython directly, or in association with your notebook using %run -i <myscript.py> or <myscript.ipy>, if you are getting that large.

1 Like