code: def kwarg_doc(text):
      """
      Decorator for defining the kwdoc documentation of artist properties.
  
      This decorator can be applied to artist property setter methods.
      The given text is stored in a private attribute ``_kwarg_doc`` on
      the method.  It is used to overwrite auto-generated documentation
      in the *kwdoc list* for artists. The kwdoc list is used to document
      ``**kwargs`` when they are properties of an artist. See e.g. the
      ``**kwargs`` section in `.Axes.text`.
  
      The text should contain the supported types, as well as the default
      value if applicable, e.g.:
  
          @_docstring.kwarg_doc("bool, default: :rc:`text.usetex`")
          def set_usetex(self, usetex):
  
      See Also
      --------
      matplotlib.artist.kwdoc
  
      """
  
      def decorator(func):
          func._kwarg_doc = text
          return func
  
      return decorator
  
file_path: matplotlib/lib/matplotlib/_docstring.py
imports: import inspect
  from .None import _api
label_desc: Use image node_id 1 for calling a global function with example usage: kwarg_doc(text) and returns: decorator, func