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

JupyterLab 4.x support #532

Closed
mlhenderson opened this issue Jul 27, 2023 · 4 comments
Closed

JupyterLab 4.x support #532

mlhenderson opened this issue Jul 27, 2023 · 4 comments

Comments

@mlhenderson
Copy link

Are there plans to migrate the ipympl extension to work in JupyterLab 4? Trying to find out if anyone is currently working on this and any sort of anticipated timescale before it would happen.

@martinRenou
Copy link
Member

I'm surprised it does not work as is. Do you see an error when using it in jupyterlab 4?

@martinRenou
Copy link
Member

I just tried, it seems to work nicely in both JupyterLab 4 and Notebook v7

Screenshot from 2023-07-27 09-18-12

Screenshot from 2023-07-27 09-19-34

@Photonnnn
Copy link

Photonnnn commented Apr 14, 2024

I find it that %matplotlib nbagg seems not to work with notebook 7 as I'm always getting error 'IPython is not defined'. When I switch to notebook 6 without changing any other environment (What I've done is just pip3 install --upgrade notebook==6) my code works properly. I'm running https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb, I need nbagg to show the dynamic figure so in this case widget seems not to be a good choice.

@ianthomas23
Copy link
Member

%matplotlib nbagg and %matplotlib notebook (they are the same thing) work with jupyter notebook < 7 and jupyter nbclassic.
%matplotlib ipympl and %matplotlib widget (they are the same thing) work with jupyter notebook >= 7 and jupyter lab

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

4 participants