Re: [Matplotlib-users] Stopping FuncAnimation

2014-03-06 Thread Ryan May
On Mon, Feb 24, 2014 at 2:44 PM, Derek Pyne dp...@baylismedical.com 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
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Stopping FuncAnimation

2014-02-24 Thread Derek Pyne
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

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users