animatplot.blocks.Pcolormesh
- class animatplot.blocks.Pcolormesh(*args, ax=None, t_axis=0, **kwargs)[source]
Animates a pcolormesh
- Parameters:
X (1D or 2D np.ndarray, optional)
Y (1D or 2D np.ndarray, optional)
C (list of 2D np.ndarray or a 3D np.ndarray)
ax (matplotlib.axes.Axes, optional) – The matplotlib axes to attach the block to. Defaults to matplotlib.pyplot.gca()
t_axis (int, optional) – The axis of the array that represents time. Defaults to 0. No effect if C is a list.
- ax
The matplotlib axes that the block is attached to.
- Type:
matplotlib axis
Notes
All other keyword arguments get passed to
axis.pcolormesh
seematplotlib.axes.Axes.pcolormesh()
for details.Methods