matplotlib / matplotlib/ipympl

Incompatibility of jupyter-matplotlib with nglview

Open
#80 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
1.7k
Forks
234
PR merge metrics
No merged PRs in 30d

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
Screenshot_20190522_160755

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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.

Assessment

Tech stack
jupyter, python
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.