Skip to content

Commit 3ccb41c

Browse files
committed
Merge pull request matplotlib#2550 from joferkington/fix-wx-singleshot-timer
Using a single-shot timer with the Wx backend raises an AttributeError
1 parent 4602ab7 commit 3ccb41c

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
@@ -203,7 +203,7 @@ def _timer_set_interval(self):
203203
self._timer_start()
204204

205205
def _timer_set_single_shot(self):
206-
self._timer.start()
206+
self._timer.Start()
207207

208208
def _on_timer(self, *args):
209209
TimerBase._on_timer(self)

0 commit comments

Comments
 (0)