code: def plot(self, figsize=(12, 6), xscale='auto-gps', **kwargs):
          
          if 'imshow' in kwargs:
              warnings.warn('the imshow keyword for Spectrogram.plot was '
                            'removed, please pass method=\'imshow\' instead',
                            DeprecationWarning)
              kwargs.setdefault('method', 'imshow' if kwargs.pop('imshow') else
                                          'pcolormesh')
          kwargs.update(figsize=figsize, xscale=xscale)
          return super(Spectrogram, self).plot(**kwargs)
docs: Plot the data for this `Spectrogram`
  
          Parameters
          ----------
          **kwargs
              all keyword arguments are passed along to underlying
              functions, see below for references
  
          Returns
          -------
          plot : `~gwpy.plot.Plot`
              the `Plot` containing the data
  
          See Also
          --------
          matplotlib.pyplot.figure
              for documentation of keyword arguments used to create the
              figure
          matplotlib.figure.Figure.add_subplot
              for documentation of keyword arguments used to create the
              axes
          gwpy.plot.Axes.imshow or gwpy.plot.Axes.pcolormesh
              for documentation of keyword arguments used in rendering the
              `Spectrogram` data