Animatplot is build on top of three main classes:
Timeline holds the information and logic to actually control the timing of all animations.
Block represents any “thing” that is to be animated.
Animation is a composition of a list of blocks and a timeline. This class builds the final animation.
Blocks handle the animation of different types of data.
The following blocks are available in
These blocks are built to animate data.
||Animates a single line.|
||A block for animated quiver plots|
||Animates a pcolormesh|
||Animates a series of images|
||Animates scatter plots|
Graph Label Blocks¶
These blocks are for animating non-data features on an axis.
||Animates an axes title.|
These blocks are for more advanced use. These allow you to write more custom animations.
||A base class for blocks|
||For providing a custom update method|
||For when the other blocks just won’t do|
The animations subpackage is an opinionated subpackage that contains a number of convenience functions for specific use cases. These functions wrap around different combinations of blocks.
In general, these functions will take some data to be animated, some parameters to tell animatplot what to do, then dictionaries of parameters to pass to the underlying blocks.
This subpackage is less API stable than the above (blocks/Animation/Timeline), and some of these functions may have different defaults.
This submodule contains the following functions.
||produces an animation of vector fields|