code: def pcolormesh(self, *args, **kwargs):
          
          if len(args) == 1 and isinstance(args[0], Array2D):
              return self._pcolormesh_array2d(*args, **kwargs)
          return super(Axes, self).pcolormesh(*args, **kwargs)
docs: Create a pseudocolor plot with a non-regular rectangular grid.
  
          When using GWpy, this method can be called with a single argument
          that is an :class:`~gwpy.types.Array2D`, for which the ``X`` and ``Y``
          coordinate arrays will be determined from the indexing.
  
          In all other usage, all ``args`` and ``kwargs`` are passed directly
          to :meth:`~matplotlib.axes.Axes.pcolormesh`.
  
          Notes
          -----
          Unlike the upstream :meth:`matplotlib.axes.Axes.pcolormesh`,
          this method respects the current grid settings.
  
          See Also
          --------
          matplotlib.axes.Axes.pcolormesh