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

The matplotlib axes that the block is attached to.

Type:

matplotlib.axes.Axes

Methods

__init__

__init__(ax=None, t_axis=None)[source]