class_docstr: Mark a function, class, or method as legacy (decorator).
  
  Parameters
  ----------
  alt : str
      Description of the alternate, preferred way to achieve a comparable
      result.
  extra : str
      Extra information beyond just saying the class/function/method is
      legacy. Should be a complete sentence (trailing period will be
      added automatically). Will be included in logger.info messages
      and in a sphinx warning box in the docstring.
code: def __init__(self, alt, extra=""):
      period = ". " if len(extra) else ""
      extra = f"New code should use {alt}{period}{extra}"
      super().__init__(extra=extra)
  
imports: import inspect
  import os
  import os.path
  import re
  import sys
  import webbrowser
  from copy import deepcopy
  from decorator import FunctionMaker
  from ..defaults import HEAD_SIZE_DEFAULT
  from ._bunch import BunchConst
label_desc: Use image node_id 1 to create a new legacy object from inherited base classes: _decorator with example: obj = legacy(alt, extra)