-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
TkAgg backend: draw_if_interactive() broken? #1627
Comments
Yeah, I am fairly certain that show() should be doing calling canvas.draw() (actually, it might be draw_idle()). Along a similar line, cocoaagg and fltkagg might have similar bugs. |
On 2013/01/08 11:43 AM, Benjamin Root wrote:
What is the simplest way to reproduce the bug? |
I run import matplotlib plt.ion() Expected result: window opens, shows plot |
On 2013/01/08 11:47 PM, msiegl wrote:
What version and platform are you using? I can't reproduce this with |
Thank you for checking this. My problem is under cygwin (should have mentioned earlier). Apparently draw_idle(), when called by show(), doesn't get to draw. So it has to be 'forced' with draw() instead. Any ideas why my GUI would not be idle in above example? Since the original issue is void, feel free to close this thread. |
Closing as OP said it was fixed a year ago. |
The TkAgg backend does not draw_if_interactive() as expected.
It seems that in backend_tkagg.py, the function should use (in line 65)
figManager.canvas.draw()
instead of
figManager.show()
Can anyone confirm that?
The text was updated successfully, but these errors were encountered: