-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
figures won't update correctly using MacOSX backend #8400
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
Can confirm this on
The entire plotting window is disabled, including the close/minimize/maximize buttons at the top. |
Does it work in IPython? |
Yes, it does seem to work in ipython 5.1.0. |
Ah, great, so that narrows down the issue. Did this used to work with 1.5.x? Attn @mdehoon for mac related GUI integration issues. |
Just had a quick check, and the above snippet works fine with 1.5.3 on OSX. |
Bisects down to fd7eeeb |
@cimarronm, the commit is from your #6521 PR; maybe you can see how to modify it to handle the use case here. |
Presumably the |
This bug is still present on:
|
Bug report
Bug summary
If I use the MacOSX backend in Mac OS X 10.11.6, matplotlib version 2.0.0, using "pythonw" as installed by anaconda, in the interactive mode (after running plt.ion()) in a normal Mac OS X terminal, then the initial plot may display fine, but attempts to interact with the plot result in unresponsiveness. If you attempt to adjust the plot by clicking on, e.g., the "scale" button below the plot and right-clicking and dragging the cursor on the plot to scale it, then nothing happens until you type some keys in the terminal, at which point it'll update, but then the terminal and the plot will become unresponsive until you execute Ctrl-C.
Code for reproduction
Actual outcome
After executing that code and try to adjust the figure by scaling or zooming in, nothing will happen. If you start typing, then the figure will update, but then the terminal and figure become unresponsive until you press Ctrl-C.
Expected outcome
Attempts to adjust the plot should have an instantaneous response with no unresponsiveness afterwards.
Matplotlib version
matplotlib 2.0.0
python info:
Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
platform:
Mac OS X 10.11.6
I installed everything using anaconda.
The text was updated successfully, but these errors were encountered: