### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- `animation` module »

# matplotlib.animation.TimedAnimation

class `matplotlib.animation.``TimedAnimation`(fig, interval=200, repeat_delay=None, repeat=True, event_source=None, *args, **kwargs)

  `Animation` subclass for time-based animation.

  A new frame is drawn every interval milliseconds.

  Parameters: | fig : matplotlib.figure.Figure The figure object that is used to get draw, resize, and any other needed events. interval : number, optional Delay between frames in milliseconds. Defaults to 200. repeat_delay : number, optional If the animation in repeated, adds a delay in milliseconds before repeating the animation. Defaults to `None`. repeat : bool, optional Controls whether the animation should repeat when the sequence of frames is completed. Defaults to `True`. blit : bool, optional Controls whether blitting is used to optimize drawing. Defaults to `False`.

  `__init__`(fig, interval=200, repeat_delay=None, repeat=True, event_source=None, *args, **kwargs)