An interactive animation framework for matplotlib providing convenient classes to create animations with sliders and buttons. Current version 1.2.4, requires Python >=3.10. Released on PyPI with periodic updates.
pip install mpl-animatorsVerified import paths — ran on the pinned version, not inferred.
Minimal interactive animation with a slider that controls the frame.
Use explicit import aliasing: from mpl_animators import FuncAnimation as InteractiveAnimation
Set blit=False in FuncAnimation constructor if you experience blank frames.
Ensure interactive backend: import matplotlib; matplotlib.use('TkAgg') or use %matplotlib notebook in Jupyter.