# HG changeset patch
# User Karl-Dieter Crisman <kcrisman@gmail.com>
# Date 1295289556 18000
# Node ID 6dafdfdea64f1c765cb79ce45f831de6fecfd439
# Parent 6b2a299328b22c699d7f54f08edf6b79781d55ea
Trac 7981 - reviewer patch fixes parenthesis issue in doctest and ensures optional
diff -r 6b2a299328b2 -r 6dafdfdea64f sage/plot/animate.py
a
|
b
|
|
83 | 83 | |
84 | 84 | We check that Trac #7981 is fixed:: |
85 | 85 | |
86 | | sage: animate([plot(sin(x + float(k), (0, 2*pi), ymin=-5, ymax=5)) |
87 | | ... for k in srange(0,2*pi,0.3)]).show() # optional |
| 86 | sage: a = animate([plot(sin(x + float(k)), (0, 2*pi), ymin=-5, ymax=5) |
| 87 | ... for k in srange(0,2*pi,0.3)]) |
| 88 | sage: a.show() # optional |
88 | 89 | """ |
89 | 90 | def __init__(self, v, **kwds): |
90 | 91 | r""" |