-
Notifications
You must be signed in to change notification settings - Fork 72
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
plot_helper.py outdated for JupyterLab #11
Comments
I used Copilot Workspace, and got the following suggested code, to insert after line 13:
I tried this locally, and the error is gone, but now I'm not seeing the figures inline after executing a plot command. |
I still have |
@labarba After some quick online research, I feel like we should switch from using I tested locally with this updated conda env file on a linux machine: - pandas>=0.20.3
- sympy
- jupyter
+ - jupyterlab>=4.0,<5
+ - ipympl>=0.9.3
- imageio
- ipywidgets , and called |
I also saw the reference to using |
Some testing and digging:
|
|
@tingyu66 – I deleted the code added in PR12 to check for JupyterLab and added a line to the |
Should we edit the |
Yes, adding |
Trying to run a plot command from
plot_helper.py
in a recent installation (JupyterLab) gives the error:Javascript Error: Can't find variable: IPython
This typically occurs when trying to use an IPython-specific feature or functionality in a JupyterLab environment where IPython is not directly accessible.
In JupyterLab, the underlying architecture and the way it interacts with JavaScript have changed compared to the classic Jupyter Notebook interface. IPython, which provides the interactive computing environment in Jupyter Notebook, is not directly available in JupyterLab in the same way.
TO DO:
plot_helper.py
needs to be updated to be compatible with JupyterLab's architecture.@tingyu66 — If you have some hints on where updates are needed in the script, let me know!
The text was updated successfully, but these errors were encountered: