Is it possible to use notebook extensions (nbextensions
) within Jupyter Lab?
I think my extensions are enabled... I call jupyter nbextension enable
on them beforehand. But I don't see them in notebooks from within Jupyter Lab.
Is it possible to use notebook extensions (nbextensions
) within Jupyter Lab?
I think my extensions are enabled... I call jupyter nbextension enable
on them beforehand. But I don't see them in notebooks from within Jupyter Lab.
No, it is not possible to use a Notebook Classic extension in JupyterLab.
Though a great deal of effort has been made to make the notebook UI in JupyterLab look and feel like the UI in Notebook Classic, on the backend they do not share a code base. Thus, nbextensions
for Notebook Classic have zero fundamental compatibility with JupyterLab. Beyond that, as @madhu94 points out, the extension API (how extensions should be structured, required methods, etc) are completely different in Classic and Lab.
There are some examples of projects with both an nbextension
for Notebook Classic and a labextension
for JupyterLab (eg jupyter-widgets/ipywidgets
). In these cases the project will have separate code for each kind of extension.