On Sat, Feb 8, 2014 at 10:48 AM, Alan G Isaac <ais...@american.edu> wrote:
> 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.
>
That does sound correct to me. (I'll apologize for the broken English in
the docs).
Any chance you could file an issue, and maybe one on the repeat? (I agree
this would be nice to have).
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=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users