animatplot.blocks.Block

class animatplot.blocks.Block(ax=None, t_axis=None)[source]

A base class for blocks

Parameters:
  • ax (matplotlib.axes.Axes, optional) – The matplotlib axes to attach the animation to. Defaults to matplotlib.pyplot.gca()
  • t_axis (int, optional) – The axis of the data that represents time.
ax

matplotlib.axes.Axes – The matplotlib axes that the block is attached to.

Methods

__init__ Initialize self.
__init__(ax=None, t_axis=None)[source]

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