Skip to content

Commit

Permalink
Deprecate FigureCanvasBase.idle_event.
Browse files Browse the repository at this point in the history
The corresponding event had been deprecated since 1.5.
  • Loading branch information
anntzer committed Apr 9, 2017
1 parent e24f127 commit fd59a34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
37 changes: 0 additions & 37 deletions examples/event_handling/idle_and_timeout.py

This file was deleted.

2 changes: 2 additions & 0 deletions lib/matplotlib/backend_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,7 @@ def __init__(self, name, canvas, guiEvent=None):
self.guiEvent = guiEvent


@cbook.deprecated("2.1")
class IdleEvent(Event):
"""
An event triggered by the GUI backend when it is idle -- useful
Expand Down Expand Up @@ -1952,6 +1953,7 @@ def enter_notify_event(self, guiEvent=None, xy=None):
event = Event('figure_enter_event', self, guiEvent)
self.callbacks.process('figure_enter_event', event)

@cbook.deprecated("2.1")
def idle_event(self, guiEvent=None):
"""Called when GUI is idle."""
s = 'idle_event'
Expand Down

0 comments on commit fd59a34

Please sign in to comment.