-
Notifications
You must be signed in to change notification settings - Fork 226
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
ipympl support for classic Jupyter notebook (6.5.2-6.5.4) #525
Comments
@pythonic2020 can you please post the output of the command in the bug report: When I make a new environment with |
Note that I just updated my conda env to notebook 6.5.3 today. 3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:28:38) [MSC v.1929 64 bit (AMD64)]
JupyterLab v3.6.1 There is no error, but the kernel becomes intermittent when I run ipympl-related 3d interactive plotting in classic notebook 6.5.3 (see example code below from ipympl docs). Rotating the plot with the mouse works for a while, then the kernel breaks, after which interactive functions will not work.
|
Are there any error messages printed to the terminal you started the notebook from? Also can you check if there are error messages in the browser console: https://balsamiq.com/support/faqs/browserconsole/ |
Then the connection restarts:
I have tornado 6.2 installed:
Second run:
There are no pertinent messages in Firefox browser console. Third run, kernel really quits this time, will not restart:
|
If I create a new, fresh conda-forge based Python 3.9 env and install just matplotlib, notebook, and ipympl (and required dependencies), the issue still occurs. |
Those errors seem to be upstream of ipympl. Can you try this code: from ipywidgets import IntSlider
slider = IntSlider()
display(slider)
Can you post the exact command you used to make the new env |
Your IntSlider code above works perfectly in a classic notebook. Env creation:
After the above env creation and package installation, all packages are from conda-forge repo. Output of the info command in the new env (jupyterlab not installed):
|
I tried the 3d code in my new env in a classic notebook in MS Edge, and got these Jupyter terminal errors. Note "AttributeError: 'NoneType' object has no attribute 'advance'".
|
Using notebook 7.0.0, ipympl works fine! |
ipympl 0.9.3 works fine in notebook 6.5.5 in a python 3.9.17 environment! "Case" closed. :-) |
While current ipympl (0.9.3) works perfectly in Jupyterlab, it no longer works properly in a classic Jupyter notebook 6.5.2 from conda-forge repo. Has classic notebook support for ipympl been abandoned?
The text was updated successfully, but these errors were encountered: