animatplot.blocks.Pcolormesh

class animatplot.blocks.Pcolormesh(*args, axis=None, t_axis=0, **kwargs)[source]

Animates a pcolormesh

Parameters:
  • X (2D np.ndarray, optional) –
  • Y (2D np.ndarray, optional) –
  • C (list of 2D np.ndarray or a 3D np.ndarray) –
  • axis (matplotlib axis, optional) – an axis to attach the block to.
  • t_axis (int, optional) – The axis of the array that represents time. Defaults to 0. No effect if C is a list.

Notes

All other keyword arguments get passed to axis.pcolormesh see matplotlib.axes.Axes.pcolormesh() for details.

Methods

__init__ Initialize self.
__init__(*args, axis=None, t_axis=0, **kwargs)[source]

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