| 1 | initial version |
The documentation of a.show:
sage: t = var('t')
sage: a = animate((cos(c*pi*t) for c in sxrange(1,2,.2)))
sage: a.show?
says:
...
* "iterations" -- integer (default: 0); number of iterations of
animation. If 0, loop forever.
...
So you may do:
sage: a.show(iterations=3)
to have the animation stop after 3 iterations.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.