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

404 GET error #63

Closed
rannbaron opened this issue Aug 7, 2018 · 3 comments
Closed

404 GET error #63

rannbaron opened this issue Aug 7, 2018 · 3 comments

Comments

@rannbaron
Copy link

rannbaron commented Aug 7, 2018

Running
%matplotlib ipympl
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.show()

Results in no graphic display, and the following in console:

[W 17:14:27.611 NotebookApp] 404 GET /nbextensions/jupyter-matplotlib.js?v=20180807170809 (::1) 11.85ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3
[W 17:14:27.737 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20180807170809 (::1) 1.95ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3
[I 17:14:28.138 NotebookApp] Adapting to protocol v5.1 for kernel eea1e6df-7b2b-4d54-8410-9b9cfbda7a64
[W 17:14:32.004 NotebookApp] 404 GET /static/jupyter-matplotlib.js?v=20180807170809 (::1) 2.26ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3

I installed ipympl from pip3 on Debian.

Help please!

@larsoner
Copy link

FYI I just hit the same issue and fixed it by setting in ~/.jupyter/nbconfig/notebook.json:

{
  "load_extensions": {
    "jupyter-matplotlib/extension": true,
    ...
  }
}

@thomasaarholt
Copy link
Contributor

@larsoner, what OS are you on? Debian as well?

@larsoner
Copy link

larsoner commented Jun 15, 2020

Ubuntu 20.04, so yeah Debian-based, installed using pip.

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