Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Use JupyterLab for multiple notebooks sharing a single kernel #108

Open
nulinspiratie opened this issue Sep 5, 2018 · 2 comments

Comments

@nulinspiratie
Copy link
Owner

nulinspiratie commented Sep 5, 2018

JupyterLab allows you to connect a notebook to an existing kernel.
This allows you to only load the measurements that you need, instead of one massive Measurements notebook.

One potential issue is that existing widgets might not work any longer

@nulinspiratie
Copy link
Owner Author

nulinspiratie commented Dec 5, 2019

Tested it, and most of it seems to work nicely. However, at the moment there is one major issue preventing us from using jupyter lab.
The issue is that ipywidgets only work for the original notebook. So any secondary notebook connected to the kernel of the original notebook is not able to display any widgets.

At the moment, this is a dealbreaker because interactive matplotlib uses ipywidgets in jupyterlab

See issue jupyter-widgets/ipywidgets#2628

@nulinspiratie
Copy link
Owner Author

I managed to get it working with a custom extension https://github.com/nulinspiratie/shared_kernel
However, it's quite difficult to install at the moment, and it's lacking important features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant