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

Skip to content

Commit 1a97bf8

Browse files
committed
Document that TimedAnimation is abstract
And also similarly change `Animation`. Fixes #30831
1 parent 471e079 commit 1a97bf8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

lib/matplotlib/animation.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -853,10 +853,7 @@ def finish(self):
853853

854854
class Animation:
855855
"""
856-
A base class for Animations.
857-
858-
This class is not usable as is, and should be subclassed to provide needed
859-
behavior.
856+
Abstract base class for Animations.
860857
861858
.. note::
862859
@@ -1421,7 +1418,7 @@ def resume(self):
14211418

14221419
class TimedAnimation(Animation):
14231420
"""
1424-
`Animation` subclass for time-based animation.
1421+
Abstract `Animation` subclass for time-based animation.
14251422
14261423
A new frame is drawn every *interval* milliseconds.
14271424

0 commit comments

Comments
 (0)