Re: [Matplotlib-users] timer objects in macosx backend

2013-07-20 Thread Michiel de Hoon
t; Sent: Friday, July 19, 2013 10:44 AM Subject: Re: [Matplotlib-users] timer objects in macosx backend Hi Brendan, Justin, Thanks for your reply. I agree then that a .stop() method is needed. This is not very difficult; I'll try and implement it over the weekend.

Re: [Matplotlib-users] timer objects in macosx backend

2013-07-18 Thread Michiel de Hoon
riday, July 19, 2013 3:54 AM Subject: Re: [Matplotlib-users] timer objects in macosx backend On 2013-07-18 06:56, Justin Lazear wrote:> Hi Michiel, > > On my system, deleting the timer has no effect and the timer continues > to send events. The __del__ method seems to call the s

Re: [Matplotlib-users] timer objects in macosx backend

2013-07-18 Thread Brendan Barnwell
On 2013-07-18 06:56, Justin Lazear wrote:> Hi Michiel, > > On my system, deleting the timer has no effect and the timer continues > to send events. The __del__ method seems to call the same unimplemented > _timer_stop method. Regardless, something else has a reference to the > timer (MPL event

Re: [Matplotlib-users] timer objects in macosx backend

2013-07-18 Thread Justin Lazear
Hi Michiel, On my system, deleting the timer has no effect and the timer continues to send events. The __del__ method seems to call the same unimplemented _timer_stop method. Regardless, something else has a reference to the timer (MPL event loop maybe?) and __del__ is not being called once th

Re: [Matplotlib-users] timer objects in macosx backend

2013-07-17 Thread Michiel de Hoon
Hi Justin, The .stop() method was indeed never implemented for Timer objects in the MacOSX backend. I am not sure if a .stop() method is really needed, because deleting the timer has the same effect as stopping the timer. Is there some reason you prefer >>> t.stop() instead of >>> del t ? Best,