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
matplotlib window freezing / hanging on close in ipython with OS X #6908
Comments
As far as I know this only affects the OSX backend so as a work around you can use another backend. I.e.
or
or
|
On the IPython side ipython/ipython#9659 |
I think the problem is that This used to be set as a regular python input hook with
|
This affects me as well and can confirm that changing the backend away from MacOSX is a workaround. |
Update: The Qt4 backend is now causing incredible lag in the ipython console after plotting is invoked. So it is not as nice of a workaround anymore. Doesn't seem like theres been a solution to this issue yet. |
can you try updating ipython? There were some recent changes to how the event loop integration is handled. |
This was solved for me a long time ago with an update to ipython fixing the event loop integration with prompt-toolkit. @REMeyer If you have a new issue with PyQt5 can you please open a new issue for that |
Yes, I can confirm that updating ipython fixes this problem. |
I found it. in my case, I restarted cmd as an administrator then it works! |
@tigerk0430 Having to run python as an administrator suggests that your installation is broken. In general doing anything other than administration with elevated permissions is a very bad idea. |
This also works : %matplotlib auto |
This problem has affected everyone I work with that updated to the currently latest versions below. This only affects
ipython
plots. The regularpython
terminal is unaffected by this issue.Also on posted on StackOverflow: http://stackoverflow.com/q/38801285/4013571
Reproduction
Attempting
plt.close()
also disables the three nativeOS X
window buttonsWorkaround
Us the shortcut for closing
ipython
and then cancel the exitVersions
Related
The text was updated successfully, but these errors were encountered: