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