JupyterLab Extensions
When using various modules in JupyterLab, a JupyterLab extension may be required.
In particular, inline visualization often requires an extension to render in your notebook. We've pre-installed a lot of popular libraries in your default environment, but if you've installed something else, and it's not working, then it may be because a Jupyter extension is required too.
Install the Extension
- Some JupyterLab Extensions are automatically installed when pip installing the corresponding module.
- Other extensions can be found by selecting the extension manager tab from the sidebar. Search for desired extension.
Reset the Jupyter Server
Most extensions require the Jupyter server to be reset before changes can be implemented.
Caution: Save changes to notebooks before proceeding.
1. Shut down the Jupyter server from the menu. (File > Shut Down)
Confirm the shut down. This will close the browser tab hosting JupyterLab.
2. Relaunch the instance from the "My Instances" page on the Nightingale Open Science app. The instance will still be running, so it should open quickly.
After this you should be able to use the extension.
Caveats
- The installation of extensions will not persist if the instance is stopped and restarted. The above process will need to be repeated.
- Even if using a virtual environment, extensions will need to be installed in the default