Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a8b1ce

Browse files
authored
Merge pull request#23961 from meeseeksmachine/auto-backport-of-pr-23958-on-v3.6.x
Backport PR#23958 on branch v3.6.x (DOC: Remove Adding Animations section)
2 parentsfd4ab64 +f429076 commit0a8b1ce

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
@@ -958,41 +958,6 @@ found by users at ``http://matplotlib.org/stable/old_topic/old_info2``.
958958
For 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

998963
Generating inheritance diagrams

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp