From 907ba56048b495c053cd450c00f1bb281621b09f Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Tue, 18 Oct 2022 16:03:06 +0200 Subject: [PATCH] Backport PR #24169: [DOC]: added parent link for `FuncAnimation` and `ArtistAnimation` --- lib/matplotlib/animation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/animation.py b/lib/matplotlib/animation.py index b2eca10aae6f..428e00904277 100644 --- a/lib/matplotlib/animation.py +++ b/lib/matplotlib/animation.py @@ -1426,7 +1426,8 @@ def _step(self, *args): class ArtistAnimation(TimedAnimation): """ - Animation using a fixed set of `.Artist` objects. + `TimedAnimation` subclass that creates an animation by using a fixed + set of `.Artist` objects. Before creating an instance, all plotting should have taken place and the relevant artists saved. @@ -1502,7 +1503,8 @@ def _draw_frame(self, artists): class FuncAnimation(TimedAnimation): """ - Makes an animation by repeatedly calling a function *func*. + `TimedAnimation` subclass that makes an animation by repeatedly calling + a function *func*. .. note::