From: Eric B. <eri...@gm...> - 2008-11-21 16:47:13
|
Hi Eric, > > On Fri, Nov 21, 2008 at 11:19 AM, Eric Jonas <jo...@mi...> wrote: >> I've looked through the latest examples as well as google and the list >> archives, and am still at a loss -- can anyone point me to an example of >> how to animate a scatter plot? I've attached a somewhat unpolished but functional example that shows time-synchronized animation of multiple scatter plots. It uses the wx backend explicitly, due to some issues with the idle event handling. >> The collection returned by scatter() lacks anything akin to a set_data method. Yup, you want this instead: collection.set_offsets(xy) collection.set_array(s) -Eric |