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

Buttons not working in jupyterlab. #70

Closed
sperezconesa opened this issue Nov 16, 2018 · 6 comments
Closed

Buttons not working in jupyterlab. #70

sperezconesa opened this issue Nov 16, 2018 · 6 comments

Comments

@sperezconesa
Copy link

Hello,
I just installed jupyter-matplotlib in jupyter-lab 0.35.4. I have used the first example of this repository and the plot shows and the save button, the quit button and the x,y of the mouse work. The problem is that the zoom button and move do not. I have tried restarting jupyterlab, the kernel, deleting the outputs but I get the same problem.

This is my version information:

ipympl 0.2.1
ipython 6.5.0 py37_0
ipywidgets 7.4.2
jupyter 1.0.0 py37_7
jupyter-contrib-core 0.3.3
jupyter-contrib-nbextensions 0.5.0
jupyter-highlight-selected-word 0.2.0
jupyter-latex-envs 1.4.4
jupyter-nbextensions-configurator 0.4.0
jupyter_client 5.2.3 py37_0
jupyter_console 5.2.0 py37_1
jupyter_core 4.4.0 py37_0
jupyterlab 0.35.4 py37_0 conda-forge
jupyterlab-code-formatter 0.1.1
jupyterlab_launcher 0.13.1 py37_0
jupyterlab_server 0.2.0 py_0 conda-forge
widgetsnbextension 3.4.1 py37_0

I am fairly new to this stuff. Let me know if I can give you more information in some way.

@jganzabal
Copy link

jganzabal commented Mar 4, 2019

I had the same issue after running:

conda install -c conda-forge ipympl
# If using JupyterLab
conda install nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib

but after running:

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

It started working even though I am using Jupyter lab not jupyter notebook

@sperezconesa
Copy link
Author

I have fixed it by updating everything. Sorry I did not say anything before. I had forgot about this thread.
Thank you!

@flutefreak7
Copy link

I'm having the same issues OP described - unable to interact with the matplotlib plot with pan or zoom tools. It's not evident to me that any of the buttons below the plot are working.

I'm currently on a non-conda installation so I'd like to understand a solution that doesn't require conda-forge.

@danielballan
Copy link

@flutefreak7 Can you list which versions of the relevant packages your are using? (See OP's post for a good list of relevant packages.)

@martinRenou
Copy link
Member

Closing as outdated.

@Linusnie
Copy link

I have this same issue. Plotting works and I can resize the window, but the zoom and move buttons don't work. My version numbers for ipy and jupyter packages are:

ipykernel 6.21.2
ipympl 0.9.2
ipython 8.10.0
ipython-genutils 0.2.0
ipywidgets 8.0.4
jupyter_client 8.0.2
jupyter_core 5.2.0
jupyter-events 0.5.0
jupyter_server 2.2.1
jupyter_server_fileid 0.6.0
jupyter_server_terminals 0.4.4
jupyter_server_ydoc 0.6.1
jupyter-ydoc 0.2.2
jupyterlab 3.6.1
jupyterlab-darkside-ui 0.2.3
jupyterlab-pygments 0.2.2
jupyterlab_server 2.19.0
jupyterlab-widgets 3.0.5

Python version is 3.10.6. Any suggestions?

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

6 participants