File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ Merge JSAnimation
2
+ -----------------
3
+
4
+ Jake Vanderplas' JSAnimation package has been merged into matplotlib. This
5
+ adds to matplotlib the `~matplotlib.animation.HTMLWriter ` class for
6
+ generating a javascript HTML animation, suitable for the IPython notebook.
7
+ This can be activated by default by setting the ``animation.html `` rc
8
+ parameter to ``jshtml ``. One can also call the ``anim_to_jshtml `` function
9
+ to manually convert an animation. This can be displayed using IPython's
10
+ ``HTML `` display class::
11
+
12
+ from IPython.display import HTML
13
+ HTML(animation.anim_to_jshtml(anim))
14
+
15
+ The `~matplotlib.animation.HTMLWriter ` class can also be used to generate
16
+ an HTML file by asking for the ``html `` writer.
You can’t perform that action at this time.
0 commit comments