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

MacOSX backend not closing properly #4142

Closed
cimarronm opened this issue Feb 21, 2015 · 3 comments
Closed

MacOSX backend not closing properly #4142

cimarronm opened this issue Feb 21, 2015 · 3 comments

Comments

@cimarronm
Copy link
Contributor

MacOSX backend does not seem to be closing properly when plot windows are closed.

import matplotlib.pyplot as plt

plt.plot(range(10))
plt.show()
print("Won't reach here")
plt.plot(range(20))
plt.show()

The python script will halt after the first plt.show() even after closing the plot windows. Problem seems to be that the backend NSApp is not quitting and is not returning back from show().

@cimarronm
Copy link
Contributor Author

This appears to have started with PR #4006.

@mdehoon, do you want to see if you can reproduce on your system and it is not just an issue with my setup? I see the problem running on python 3.4.2.

@cimarronm
Copy link
Contributor Author

Also, I don't see any issues if run under ipython or if ion() is set

@tacaswell tacaswell added this to the next point release milestone Feb 21, 2015
@mdehoon
Copy link
Contributor

mdehoon commented Feb 22, 2015

Indeed this was caused by some code getting inadvertently lost in pull request 4006.
See pull request 4144 (#4144) for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants