Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 317a5eb

Browse filesBrowse files
committed
Fix singleshot timers in wx.
`TimerWx._timer_set_single_shot` currently tries to start the timer without interval or any other setting, which is not what this method is supposed to do; it should only modify settings on internal objects. Since single shot mode is fully handled in `TimerWx._timer_start`, this method is unnecessary.
1 parent 7d0cb13 commit 317a5eb
Copy full SHA for 317a5eb

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎lib/matplotlib/backends/backend_wx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_wx.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ def _timer_set_interval(self):
8787
if self._timer.IsRunning():
8888
self._timer_start() # Restart with new interval.
8989

90-
def _timer_set_single_shot(self):
91-
self._timer.Start()
92-
9390

9491
class RendererWx(RendererBase):
9592
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.