On Tue, Jun 16, 2009 at 11:42 AM, Randy Heiland<heil...@indiana.edu> wrote: > Can someone point me to the "best" way to dynamically update a 2D > [image] array (think of cellular automata)? E.g., this simple example > works, but gets sluggish after several iterations:
Use im.set_array rather than making multiple calls to imshow. See the "dynamic_image*" examples at http://matplotlib.sourceforge.net/examples/animation/index.html ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users