class_docstr: Animates a series of images
  
  Parameters
  ----------
  images : list of 2D/3D arrays, or a 3D or 4D array
      matplotlib considers arrays of the shape
      (n,m), (n,m,3), and (n,m,4) to be images.
      Images is either a list of arrays of those shapes,
      or an array of shape (T,n,m), (T,n,m,3), or (T,n,m,4)
      where T is the length of the time axis (assuming ``t_axis=0``).
  ax : matplotlib.axes.Axes, optional
      The matplotlib axes to attach the block to.
      Defaults to matplotlib.gca()
  t_axis : int, optional
      The axis of the array that represents time. Defaults to 0.
      No effect if images is a list.
  
  Attributes
  ----------
  ax : matplotlib.axes.Axes
      The matplotlib axes that the block is attached to.
  
  Notes
  -----
  This block accepts additional keyword arguments to be passed to
  :meth:`matplotlib.axes.Axes.imshow`
code: def __init__(self, images, ax=None, t_axis=0, **kwargs):
      self.ims = np.asanyarray(images)
      super().__init__(ax, t_axis)
  
      self._is_list = isinstance(images, list)
      self._dim = len(self.ims.shape)
  
      Slice = self._make_slice(0, self._dim)
      self.im = self.ax.imshow(self.ims[Slice], **kwargs)
  
file_path: animatplot/animatplot/blocks/image_like.py
imports: from .base import Block
  import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 1 to create a new Imshow object from inherited base classes: Block with example: obj = Imshow(images, ax, t_axis)