-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Unable to use %matplotlib inline in ipython #9834
Comments
The |
So how can we solve this? by install some library? |
So, anybody got fix for this issue.? |
Nope, still didn't work after removing 'inline' |
I met this issue on Ubuntu 16.04 LTS, and I use the workaround of https://stackoverflow.com/a/44840398, that's, not use %matplotlib inline, and add plt.show() after creation of graph. |
So I read the response and I think what it is trying to say (although it is doing a very poor job at communication), is that instead of inline you should supply the correct backend on the command. At least on my mac the above works without error. Not that I can say that it does anything, but it doesn't choke. |
I faced the same issue when testing this on a windows10 vm while checking the install of an exiftool. IPython was choking on |
You can use pylab mode in ipython. Simply run ipython --pylab in the terminal. That will launch ipython configured to be able to support the matplotlib GUI backend |
no solutions work, i use plt.savefig("results.png") insteead |
I am using Anaconda, python 3.5.2, and ipython 5.0.0 on OSX 10.9. Strangely, 'inline' shows up as an available backend:
In [1]: %matplotlib --list
Available matplotlib backends: ['qt5', 'notebook', 'inline', 'qt', 'wx', 'qt4', 'nbagg', 'gtk3', 'tk', 'gtk', 'osx']
but when I actually try to use it, I get an error:
In [2]: %matplotlib inline
...stacktrace...
UnknownBackend: No event loop integration for 'inline'. Supported event loops are: qt, qt4, qt5, gtk, gtk2, gtk3, tk, wx, pyglet, glut, osx
The stacktrace is attached.
stacktrace.txt
The text was updated successfully, but these errors were encountered: