From a14cd17c68e113cfd16af471af1c9f4aead72e86 Mon Sep 17 00:00:00 2001 From: Steffen Rehberg Date: Mon, 19 Sep 2022 22:00:10 +0200 Subject: [PATCH] DOC: Remove Adding Animations section from the Writing Documentation section of the developer's docs. Animations get perfectly well embedded in the documentation by sphinx without the need of linking to youtube. More complex examples can be posted in the Discourse Showcases section instead of contacting Michael Droettboom for the login password to upload youtube videos. --- doc/devel/documenting_mpl.rst | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/doc/devel/documenting_mpl.rst b/doc/devel/documenting_mpl.rst index 648d765ce857..23b332925fd9 100644 --- a/doc/devel/documenting_mpl.rst +++ b/doc/devel/documenting_mpl.rst @@ -961,41 +961,6 @@ found by users at ``http://matplotlib.org/stable/old_topic/old_info2``. For clarity, do not use relative links. -Adding animations ------------------ - -Animations are scraped automatically by Sphinx-gallery. If this is not -desired, -there is also a Matplotlib Google/Gmail account with username ``mplgithub`` -which was used to setup the github account but can be used for other -purposes, like hosting Google docs or Youtube videos. You can embed a -Matplotlib animation in the docs by first saving the animation as a -movie using :meth:`matplotlib.animation.Animation.save`, and then -uploading to `Matplotlib's Youtube -channel `_ and inserting the -embedding string youtube provides like: - -.. code-block:: rst - - .. raw:: html - - - -An example save command to generate a movie looks like this - -.. code-block:: python - - ani = animation.FuncAnimation(fig, animate, np.arange(1, len(y)), - interval=25, blit=True, init_func=init) - - ani.save('double_pendulum.mp4', fps=15) - -Contact Michael Droettboom for the login password to upload youtube videos of -google docs to the mplgithub account. - .. _inheritance-diagrams: Generating inheritance diagrams