code: def _imshow_array2d(self, array, origin='lower', interpolation='none',
                          aspect='auto', **kwargs):
          
          # NOTE: If you change the defaults for this method, please update
          #       the docstring for `imshow` above.
  
          # calculate extent
          extent = tuple(array.xspan) + tuple(array.yspan)
          if self.get_xscale() == 'log' and extent[0] == 0.:
              extent = (1e-300,) + extent[1:]
          if self.get_yscale() == 'log' and extent[2] == 0.:
              extent = extent[:2] + (1e-300,) + extent[3:]
          kwargs.setdefault('extent', extent)
  
          return self.imshow(array.value.T, origin=origin, aspect=aspect,
                             interpolation=interpolation, **kwargs)
docs: Render an `~gwpy.types.Array2D` using `Axes.imshow`