-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
input() blocks any rendering and event handling #10269
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
Comments
I can reproduce this behaviour. I never quite understood the drawing to a GUI outside the window's event loop (
|
@ImportanceOfBeingErnest See #4779 for a pass at documentation around this, feed back is welcome! |
Closing this as #10308 updated the example and because if you are using IPython this is (unfortunately the expected and unavoidable behavior) due to crossed event loops. |
Bug report
input()
blocks any rendering and event handling.Code for reproduction
Lasso Selector Demo
I ran the code with
python
,ipython
from console andipython
from Spyder 3.2.4 (fails in these three cases).Actual outcome
The matplotlib window is not rendered and does not respond.
Expected outcome
The matplotlib window should be rendered and allow a lasso selection.
Remark: if the code from
input()
(included) is removed, the rendering and the lasso selection work as expected.Matplotlib version
Matplotlib installed with conda, default channel.
The text was updated successfully, but these errors were encountered: