Programmatically generate SVG (vector) images, animations, and interactive Jupyter widgets

Fix animation documentation

Changed files
+4 -4
drawSvg
+4 -4
drawSvg/animation.py
···
Example:
```
-
with animate_video('video.mp4') as draw_frame:
+
with animate_video('video.mp4') as anim:
while True:
...
-
draw_frame(...)
+
anim.draw_frame(...)
```
'''
return AnimationContext(draw_func=draw_func, out_file=out_file,
···
Example:
```
-
with animate_jupyter(delay=0.5) as draw_frame:
+
with animate_jupyter(delay=0.5) as anim:
while True:
...
-
draw_frame(...)
+
anim.draw_frame(...)
```
'''
return AnimationContext(draw_func=draw_func, jupyter=True, pause=pause,