@@ -961,41 +961,6 @@ found by users at ``http://matplotlib.org/stable/old_topic/old_info2``.
961
961
For clarity, do not use relative links.
962
962
963
963
964
- Adding animations
965
- -----------------
966
-
967
- Animations are scraped automatically by Sphinx-gallery. If this is not
968
- desired,
969
- there is also a Matplotlib Google/Gmail account with username ``mplgithub ``
970
- which was used to setup the github account but can be used for other
971
- purposes, like hosting Google docs or Youtube videos. You can embed a
972
- Matplotlib animation in the docs by first saving the animation as a
973
- movie using :meth: `matplotlib.animation.Animation.save `, and then
974
- uploading to `Matplotlib's Youtube
975
- channel <https://www.youtube.com/user/matplotlib> `_ and inserting the
976
- embedding string youtube provides like:
977
-
978
- .. code-block :: rst
979
-
980
- .. raw:: html
981
-
982
- <iframe width="420" height="315"
983
- src="https://www.youtube.com/embed/32cjc6V0OZY"
984
- frameborder="0" allowfullscreen>
985
- </iframe>
986
-
987
- An example save command to generate a movie looks like this
988
-
989
- .. code-block :: python
990
-
991
- ani = animation.FuncAnimation(fig, animate, np.arange(1 , len (y)),
992
- interval = 25 , blit = True , init_func = init)
993
-
994
- ani.save(' double_pendulum.mp4' , fps = 15 )
995
-
996
- Contact Michael Droettboom for the login password to upload youtube videos of
997
- google docs to the mplgithub account.
998
-
999
964
.. _inheritance-diagrams :
1000
965
1001
966
Generating inheritance diagrams
0 commit comments