docs: def _gen_doc(cls, summary, full_name, identifier, example_call, doc_str,
                   show_examples):
          """Generate the documentation docstring for a PlotMethod"""
          # leave out the first argument
          example_call = ', '.join(map(str.strip, example_call.split(',')[1:]))
          ret = docstrings.dedents("""
              %s
  
              This plotting method adds data arrays and plots them via
              :class:`%s` plotters
  
              To plot a variable in this dataset, type::
  
                  >>> ds.psy.plot.%s(%s)
  
              %s""" % (summary, full_name, identifier, example_call, doc_str))
  
          if show_examples:
              ret += '\n\n' + cls._gen_examples(identifier)
          return ret