8000 Merge pull request #22572 from oscargus/wxdone · matplotlib/matplotlib@d2e5124 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2e5124

Browse files
authored
Merge pull request #22572 from oscargus/wxdone
Fix issue with unhandled Done exception
2 parents e4d4b0a + faaae2a commit d2e5124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def set_cursor(self, cursor):
749749
cursors.RESIZE_VERTICAL: wx.CURSOR_SIZENS,
750750
}, cursor=cursor))
751751
self.SetCursor(cursor)
752-
self.Update()
752+
self.Refresh()
753753

754754
def _set_capture(self, capture=True):
755755
"""Control wx mouse capture."""

0 commit comments

Comments
 (0)
0