You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plotting with the notebook backend results in no plot appearing. In the Jupyter notebook console, I get:
404 GET /static/matplotlib.js?v=20160521145157
Using Matplotlib from git with Python 3.5 on Archlinux.
Problem exists with Jupyter 4.2 installed with PIP, and after upgrading notebook to git master.
Following the merge of #5754 the notebook backend has been integrated with the Jypyter notebook extensions. This requires explicitly enabling the Jupyter notebook extension.
jupyter nbextension enable --py matplotlib
Unfortunatly this is not really documented anywhere yet. Unless you really need something on the master branch I would recommend using the 2.x branch at this stage which is significantly more stable.
There are several other issues with the new notebook backend following that merge see #6414
Also to install you can't use jupyter nbextension enable --py matplotlib (or at least I could not) but of course then you have to use jupyter nbextension enable --py ipympl.
@beojan with the latest version of jupyter, notebook, and matplotlib, installing and enabling an extension shouldn't be required. In other words, on my system:
The extension is required if you use matplotlib from git master.
On Apr 19, 2017 4:56 PM, "Paul Hobson" <notifications@github.com> wrote:
@beojan <https://github.com/beojan> with the latest version of jupyter,
notebook, and matplotlib, installing and enabling an extension shouldn't be
required. In other words, on my system:
conda create --name=mpltest python=3.6 matplotlib notebook
Is all a need to use %matplotlib notebook in a jupyter notebook.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6454 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADjiNZM1eGXTpAaPmGSf-_rUYXFRZVjLks5rxi6vgaJpZM4IjyEU>
.
Activity
jenshnielsen commentedon May 21, 2016
Following the merge of #5754 the notebook backend has been integrated with the Jypyter notebook extensions. This requires explicitly enabling the Jupyter notebook extension.
Unfortunatly this is not really documented anywhere yet. Unless you really need something on the master branch I would recommend using the 2.x branch at this stage which is significantly more stable.
There are several other issues with the new notebook backend following that merge see #6414
shoeffner commentedon Sep 20, 2016
Since it was really hard to find it for me, here is explained how to get it back running, it's in the package ipympl: https://github.com/matplotlib/jupyter-matplotlib .
Also to install you can't use
jupyter nbextension enable --py matplotlib(or at least I could not) but of course then you have to usejupyter nbextension enable --py ipympl.beojan commentedon Apr 19, 2017
I'm now getting the same error again, after installing
ipymplas @shoeffner said.phobson commentedon Apr 19, 2017
@beojan with the latest version of jupyter, notebook, and matplotlib, installing and enabling an extension shouldn't be required. In other words, on my system:
Is all I need to use
%matplotlib notebookin a jupyter notebook.beojan commentedon Apr 19, 2017
tacaswell commentedon Apr 19, 2017
ipympl and the notebook backend are different backends (both run in the notebook, but they use different js and communication methods).
dstansby commentedon Jul 21, 2019
@beojan it's been a while since you opened the issue - is this still a problem with newer versions of Matplotlib for you?
QuLogic commentedon Sep 1, 2020
Closing as there's been no response in a year.