Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ffa6f commit be40c5cCopy full SHA for be40c5c
1 file changed
lib/matplotlib/backends/backend_wx.py
@@ -568,7 +568,7 @@ def start_event_loop(self, timeout=0):
568
raise RuntimeError("Event loop already running")
569
timer = wx.Timer(self, id=wx.ID_ANY)
570
if timeout > 0:
571
- timer.Start(timeout * 1000, oneShot=True)
+ timer.Start(int(timeout * 1000), oneShot=True)
572
self.Bind(wx.EVT_TIMER, self.stop_event_loop, id=timer.GetId())
573
# Event loop handler for start/stop event loop
574
self._event_loop = wx.GUIEventLoop()
0 commit comments