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

Skip to content

Commit 1cf4bb9

Browse files
committed
DOC: make simple animation example easier to find
1 parent 462e6a6 commit 1cf4bb9

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

doc/api/animation_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,13 @@ artists and functions. A fourth method is to create a class.
171171
Examples
172172
^^^^^^^^
173173

174+
* :doc:`../gallery/animation/animate_basic`
174175
* :doc:`../gallery/animation/animate_decay`
175176
* :doc:`../gallery/animation/bayes_update`
176177
* :doc:`../gallery/animation/double_pendulum`
177178
* :doc:`../gallery/animation/animated_histogram`
178179
* :doc:`../gallery/animation/rain`
179180
* :doc:`../gallery/animation/random_walk`
180-
* :doc:`../gallery/animation/simple_anim`
181181
* :doc:`../gallery/animation/strip_chart`
182182
* :doc:`../gallery/animation/unchained`
183183

galleries/examples/animation/simple_anim.py renamed to galleries/examples/animation/animate_basic.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
"""
2-
==================
3-
Animated line plot
4-
==================
2+
========================
3+
Basic animated line plot
4+
========================
55
66
Output generated via `matplotlib.animation.Animation.to_jshtml`.
7+
8+
.. redirect-from:: /gallery/animation/simple_anim
79
"""
810

911
import matplotlib.pyplot as plt
@@ -36,3 +38,9 @@ def animate(i):
3638
# ani.save("movie.mp4", writer=writer)
3739

3840
plt.show()
41+
42+
# %%
43+
#
44+
# .. tags::
45+
# component: animation,
46+
# level: beginner

0 commit comments

Comments
 (0)