Skip to content

Commit 9f28bd9

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

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

doc/sphinxext/gallery_order.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def __call__(self, item):
8282
"colors",
8383

8484
# **Examples**
85+
# animation
86+
"simple_anim", # Most basic example
8587
# color
8688
"color_demo",
8789
# pies

galleries/examples/animation/simple_anim.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
==================
3-
Animated line plot
4-
==================
2+
========================
3+
Basic animated line plot
4+
========================
55
66
Output generated via `matplotlib.animation.Animation.to_jshtml`.
77
"""
@@ -36,3 +36,9 @@ def animate(i):
3636
# ani.save("movie.mp4", writer=writer)
3737

3838
plt.show()
39+
40+
# %%
41+
#
42+
# .. tags::
43+
# component: animation,
44+
# level: beginner

0 commit comments

Comments
 (0)