Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Fix draw on show#4503
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Fix draw on show#4503
Changes fromall commits
a4ed400
6bfaada
eabc143
5d93ecb
b0b49cb
fdadd63
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1236,6 +1236,7 @@ def new_figure_manager_given_figure(num, figure): | ||
figmgr = frame.get_figure_manager() | ||
if matplotlib.is_interactive(): | ||
figmgr.frame.Show() | ||
figure.canvas.draw_idle() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I seem to recall that draw_idle() in wx can be broken sometimes. Would it make sense to make all of these be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. @mdehoon convinced me that in almost all cases we want to use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Sorry, now re-reading this and understanding it correctly. I think you are reffering to the issue fixed by#3905 so I am inclined to leave this as-is unless a Wx users says otherwise. | ||
return figmgr | ||