-
Notifications
You must be signed in to change notification settings - Fork 228
No plots shown with matplotlib widget
#399
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
Comments
Are you using Jupyter Notebook or JupyterLab? |
I'm using jupyter notebook |
For some reason your jupyter-matplotlib extension is not installed. Can you try running the following and restart Jupyter Notebook: jupyter nbextension install --py --sys-prefix --overwrite ipympl
jupyter nbextension enable --py --sys-prefix ipympl |
Thanks for the pointer, that works. Although I prefer to install packages with my own package manager. If you want, you can take a look below and try to see what's wrong with the package, but otherwise, thanks for helping! I did install it using the AUR (Arch User Repostory). It might be that that build scripts doesn't work correctly. I'm not too familiar with jupyter extensions, but there is a (symlinked) directory > tree
├── jupyter-js-widgets
│ ├── extension.js
│ └── extension.js.map
└── jupyter-matplotlib -> /usr/lib/python3.9/site-packages/ipympl/nbextension > ls /usr/lib/python3.9/site-packages/ipympl/nbextension
extension.js index.js index.js.map The whole file list of the package
python-ipympl /usr/ |
Unfortunately it seems the
Where does it link to? I can only suggest using the conda-forge package, or the pip package, that we maintain. |
Allright, thank you. I'll contact the maintainers of the AUR package and use the jupyter one for now :) |
If you're using anaconda, you should probably use the conda package manager: https://anaconda.org/conda-forge/ipympl |
@fwsmit try https://gist.github.com/specter119/721e2ac5a0e54a19978326037271d4dd |
The widget backend doesn't seem to work for me. Even very simple plots don't show up. This issue looks like #171, but for me even simple matplotlib plots don't show up.
Behaviour with inline backend
Behaviour with widget backend
There isn't a new window with the plot either.
Versions
Distro:
Arch Linux
Package versions:
The text was updated successfully, but these errors were encountered: