Revision: 8272 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8272&view=rev Author: ryanmay Date: 2010-04-26 19:10:40 +0000 (Mon, 26 Apr 2010)
Log Message: ----------- Make the TimerBase start/stop implementations just simple pass instead of raising NotImplementedError. This allows creating the timers for BackendAgg, which can simplify some cases. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backend_bases.py Modified: trunk/matplotlib/lib/matplotlib/backend_bases.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backend_bases.py 2010-04-26 19:10:18 UTC (rev 8271) +++ trunk/matplotlib/lib/matplotlib/backend_bases.py 2010-04-26 19:10:40 UTC (rev 8272) @@ -930,14 +930,10 @@ self._timer_stop() def _timer_start(self): - #TODO: Could we potentially make a generic version through - #the use of Threads? - raise NotImplementedError('Needs to be implemented by subclass.') + pass def _timer_stop(self): - #TODO: Could we potentially make a generic version through - #the use of Threads? - raise NotImplementedError('Needs to be implemented by subclass.') + pass def _get_interval(self): return self._interval This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins