Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2c8b29

Browse files
authored
Merge pull request #23958 from StefRe/patch-1
DOC: Remove Adding Animations section
2 parents 68e5ff9 + a14cd17 commit d2c8b29

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

doc/devel/documenting_mpl.rst

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -961,41 +961,6 @@ found by users at ``http://matplotlib.org/stable/old_topic/old_info2``.
961961
For clarity, do not use relative links.
962962

963963

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-
999964
.. _inheritance-diagrams:
1000965

1001966
Generating inheritance diagrams

0 commit comments

Comments
 (0)