code: def reindent_validator_description(validator, extra_indent):
      """
      Return validator description with modified indenting. The string that is
      returned has no leading indent, and the subsequent lines are indented by 4
      spaces (the default for validator descriptions) plus `extra_indent` spaces
  
      Parameters
      ----------
      validator : BaseValidator
          Validator from which to extract the description
      extra_indent : int
          Number of spaces of indent to add to subsequent lines (those after
          the first line). Validators description start with in indent of 4
          spaces
  
      Returns
      -------
      str
          Validator description string
      """
      # Remove leading indent and add extra spaces to subsequent indent
      return ("\n" + " " * extra_indent).join(
          validator.description().strip().split("\n")
      )
  
file_path: plotly.py/packages/python/plotly/codegen/datatypes.py
imports: import os.path
  import textwrap
  from io import StringIO
  from codegen.utils import PlotlyNode, write_source_py
label_desc: Use image node_id 3 for calling a global function with example usage: reindent_validator_description(validator, extra_indent) and returns: unknown