Skip to content

Commit 2f3e26f

Browse files
dstansbymeeseeksmachine
authored andcommitted
Backport PR #22572: Fix issue with unhandled Done exception
1 parent 8fe19dc commit 2f3e26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_wx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ def set_cursor(self, cursor):
750750
cursors.RESIZE_VERTICAL: wx.CURSOR_SIZENS,
751751
}, cursor=cursor))
752752
self.SetCursor(cursor)
753-
self.Update()
753+
self.Refresh()
754754

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

0 commit comments

Comments
 (0)