Incompatibility of jupyter-matplotlib with nglview
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- jupyter, python
- Domain
- data-visualization, frontend
Research direction
Reproduce the setup using the listed conda, jupyter-matplotlib, and nglview installation commands, then compare graph interaction before and after installing nglview 1.1.9. Start with the JavaScript console error shown in the report; the issue is done when zooming and moving the graph work with both widgets installed and the reported console error is resolved.
Written by the indexing model from the issue text.
Description
Dear jupyter comunity,
I have installed the widget as follows:
9170 source bin/anaconda3/bin/activate
9172 bin/anaconda3/bin/conda create --name lab
9174 source bin/anaconda3/bin/activate lab
9179 conda install jupyterlab MDAnalysis sympy matplotlib
9180 conda update -all
9181 conda update --all
9182 conda install -c conda-forge ipympl widgetsnbextension
9183 conda install nodejs
9184 jupyter labextension install @jupyter-widgets/jupyterlab-manager
9185 jupyter labextension install jupyter-matplotlib
9186 jupyter-lab
At this point it works well. But when I install nglview (https://github.com/arose/nglview). Doing:
pip install nglview==1.1.9
jupyter-labextension install nglview-js-widgets@1.1.9
The zooming in and moving the graph does not work anymore. In the java console when I execute the cell I get

- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matplotlib/ipympl
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/ipympl#623 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/ipympl#622 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
matplotlib/ipympl#612 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
matplotlib/ipympl#611 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
matplotlib/ipympl#609 · 7 comments ·
All issues in matplotlib/ipympl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
scope: charts status: waiting for maintainer
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
chore P3 plotly-internal size: 3 task
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Live-Charts/LiveCharts2#2394 ·
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jbkunst/highcharter#849 ·