-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
plot window hangs and/or is generally unresponsive #8505
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
Similar behavior has been reported long ago, without resolution: spyder-ide/spyder#2022. I have tried every available backend without satisfactory results. Any workarounds welcome... |
After further investigation, this appears to be from the |
And somehow, |
#4779 (which I really need to finish and get merged) has some of the gory details. In short:
This is exasperated by IPython changing from using readline (which tk actually properly register's it's self with automatically on import) to prompt toolkit (which has a different registration method). Your example should work older versions of IPython or the vanilla python prompt. Closing this as it is not a bug in matplotlib (but with integrating your GUI with IPython). |
thanks @tacaswell. I have been futzing with this for way too long. Does anyone compile up-to-date recommended matplotlib setups? I have a very standard computing configuration, yet there is a swirling mass of out-of-date solutions floating around Stack Overflow, Github, blogs etc (e.g., |
Running |
To help us understand and resolve your issue, please fill out the form to the best of your ability. You can feel free to delete the sections that do not apply.
Bug report
Bug summary
Interactive code example from documentation produces hanging/unresponsive window, frequently stuck behind other windows.
Code for reproduction
from matplotlib documentation here
Actual outcome
Figure window appears, is unresponsive and no plot is shown. Figure cannot be moved, will go to background (
cmd tab
will not bring window to top). Within seconds the cursor becomes unresponsive "beachball" when over the figure window.Expected outcome
A (non hanging, cmd-tabbable) plot window with something plotted. This error has persisted for some time.
Matplotlib version
conda update matplotlib
), python 2.7.11 (anaconda distr.), macos 10.12.4The text was updated successfully, but these errors were encountered: