class_docstr: A `.Substitution` with two additional features:
  
  - Substitutions of the form ``%(classname:kwdoc)s`` (ending with the
    literal ":kwdoc" suffix) trigger lookup of an Artist subclass with the
    given *classname*, and are substituted with the `.kwdoc` of that class.
  - Decorating a class triggers substitution both on the class docstring and
    on the class' ``__init__`` docstring (which is a commonly required
    pattern for Artist subclasses).
class_docstr_tok: ["A","`",".Substitution","`","with","two","additional","features",":","-","Substitutions","of","the","form","``","%","(","classname",":","kwdoc",")","s","``","(","ending","with","the","literal","``",":","kwdoc","''","suffix",")","trigger","lookup","of","an","Artist","subclass","with","the","given","*","classname","*",",","and","are","substituted","with","the","`",".kwdoc","`","of","that","class",".","-","Decorating","a","class","triggers","substitution","both","on","the","class","docstring","and","on","the","class","'","``","__init__","``","docstring","(","which","is","a","commonly","required","pattern","for","Artist","subclasses",")","."]
code: def __call__(self, obj):
      super().__call__(obj)
      if isinstance(obj, type) and obj.__init__ != object.__init__:
          self(obj.__init__)
      return obj
  
file_path: catboost/contrib/python/matplotlib/py3/matplotlib/_docstring.py
imports: import inspect
  from .None import _api
label_desc: Use image node_id 2 for calling the _ArtistPropertiesSubstitution obj's underlying member method code with example usage: obj.__call__(obj) and returns: obj