code: def _gen_func(cls, name, doc):
      def _inner(self, *args, **kwargs):
          return self(kind=name, *args, **kwargs)
  
      _inner.__name__ = name
      _inner.__doc__ = doc
  
      return _inner
  
file_path: mars/mars/dataframe/plotting/core.py
imports: from collections import OrderedDict
  import pandas
  from ...core import ENTITY_TYPE, ExecutableTuple
  from ...utils import adapt_mars_docstring
label_desc: Use image node_id 3 for calling the PlotAccessor obj's underlying member method code with example usage: obj._gen_func(cls, name, doc) and returns: _inner, self