animatplot.Timeline

class animatplot.Timeline(t, units='', fps=10, log=False)[source]

An object to contain and control all of the time

Parameters:
  • t (array_like) – Gets converted into a numpy array representing the time at each frame of the animation.
  • units (str, optional) – The units in which the time is measured.
  • fps (float, optional) – Indicates the number of frames per second of the animation. Defaults to 10.
  • log (bool, optional) – Displays the time scale logarithmically (base 10). Defaults to False.

Methods

__init__ Initialize self.
__init__(t, units='', fps=10, log=False)[source]

Initialize self. See help(type(self)) for accurate signature.