BarChartRace.make_animation¶
-
BarChartRace.
make_animation
(frames: Union[Iterable, int], init_func: Callable) → matplotlib.animation.FuncAnimation¶ Method for creating animation
- Parameters
frames (int) – Number of frames to animate
init_func (function) – Initialization function for chart
- Returns
FuncAnimation instance for extending with save, etc
- Return type
FuncAnimation