The documentation for FuncAnimation says http://matplotlib.org/api/animation_api.html#matplotlib.animation.FuncAnimation
Makes an animation by repeatedly calling a function func, passing in (optional) arguments in fargs. frames can be a generator, an iterable, or a number of frames. I do not think FuncAnimation can be understood from this documentation. (At least, I did not understand it.) I think it should read: Makes an animation by repeatedly calling a function `func`, passing in a value from `frames` and any (optional) arguments in `fargs`. `frames` can be a generator, an iterable, or an integer number of frames. Passing `frames=n` for integer `n` is equivalent to passing `range(n)`. Does this seem correct? Thanks, Alan Isaac PS It would be nice if repeat accepted an integer number of repetitions. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users