diff --git a/doc/sphinxext/gallery_order.py b/doc/sphinxext/gallery_order.py index 99b90062a42a..0bc6e58f59fc 100644 --- a/doc/sphinxext/gallery_order.py +++ b/doc/sphinxext/gallery_order.py @@ -82,6 +82,8 @@ def __call__(self, item): "colors", # **Examples** + # animation + "simple_anim", # Most basic example # color "color_demo", # pies diff --git a/galleries/examples/animation/simple_anim.py b/galleries/examples/animation/simple_anim.py index 5391ca5b7aed..2b65b5935b40 100644 --- a/galleries/examples/animation/simple_anim.py +++ b/galleries/examples/animation/simple_anim.py @@ -1,7 +1,7 @@ """ -================== -Animated line plot -================== +======================== +Basic animated line plot +======================== Output generated via `matplotlib.animation.Animation.to_jshtml`. """ @@ -36,3 +36,9 @@ def animate(i): # ani.save("movie.mp4", writer=writer) plt.show() + +# %% +# +# .. tags:: +# component: animation, +# level: beginner