|
From: Ryan M. <rm...@gm...> - 2014-03-06 22:16:27
|
On Mon, Feb 24, 2014 at 2:44 PM, Derek Pyne <dp...@ba...> wrote: > Does anyone know the preferred method for stopping FuncAnimation? I am > using it to record data from a oscilloscope and woud like to be able to > pause and restart the data on demand. Is there any way I can send a button > click event to it? > There's an event_source() method that can be called to get the class that's controlling when animation events get fired (usually a timer, but you can provide custom ones). You should be able to call start() and stop() on it. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |