Stopping FuncAnimation

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?

Thanks, Derek

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

ยทยทยท

On Mon, Feb 24, 2014 at 2:44 PM, Derek Pyne <dpyne@...4493...> 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?

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma