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
WxAgg hangs in interactive mode #1821
Comments
Thanks for raising @BrenBarn. |
I can reproduce this issue. The same happens with the Wx backend. Looks like the event loop is not running. |
The event loop is not running on Linux either unless one uses |
Based on my previous comment, I am removing the milestone and closing this. |
I'm using 64-bit Windows 7 with matplotlib 1.2.0 and WxPython 2.8.12.1. I
was fiddling around with some of the different backends to see what
they look like and I found that the WxAgg backend doesn't work interactively:
When I do the plot, the figure windows appears, but it's blank (without even a proper blank background, just the white area you get when a program goes on the fritz) and immediately shows "Not responding". I have to kill the window, and doing so crashes the Python session. However, it works without the "ion()" call: I can then call show() and see the plot fine.
I have wxPython working fine in other apps. In fact, what's especially odd is that I actually have an app that directly uses FigureCanvasWxAgg to embed matplotlib graphs in a GUI, and this seems to work fine. So it seems the problem is somehow in matplotlib's own management of the interactive figure window.
There was a previous question about a similar WxAgg issue on the list ( http://matplotlib.1069221.n5.nabble.com/trouble-with-show-not-drawing-in-interactive-mode-w-WxAgg-td39110.html ), but there was no real answer: the poster just decided not to use WxAgg. But aren't we really supposed to be able to use WxAgg interactively?
The text was updated successfully, but these errors were encountered: