Skip to content

Instantly share code, notes, and snippets.

@SHDShim
Last active August 10, 2019 21:58
Show Gist options
  • Save SHDShim/e3da3b8ec101fa4f24eac8f700e0a5a8 to your computer and use it in GitHub Desktop.
Save SHDShim/e3da3b8ec101fa4f24eac8f700e0a5a8 to your computer and use it in GitHub Desktop.
Interactive matplotlib in Jupyterlab

Setup interactive matplotlib in JupyterLab

This is taken from: https://github.com/matplotlib/jupyter-matplotlib

for %matplotlib widget

conda install -c conda-forge ipympl

# If using the Notebook
conda install -c conda-forge widgetsnbextension

# If using JupyterLab
conda install nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment