Skip to content

Commit e7d6cc8

Browse files
committed
Merge pull request #2550 from joferkington/fix-wx-singleshot-timer
Using a single-shot timer with the Wx backend raises an AttributeError
2 parents 9b00f1c + 3333ba0 commit e7d6cc8

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
@@ -206,7 +206,7 @@ def _timer_set_interval(self):
206206
self._timer_start()
207207

208208
def _timer_set_single_shot(self):
209-
self._timer.start()
209+
self._timer.Start()
210210

211211
def _on_timer(self, *args):
212212
TimerBase._on_timer(self)

0 commit comments

Comments
 (0)