code: def set_option(name: str, value: Any) -> Any:
      """
      Set package option
  
      Parameters
      ----------
      name :
          Name of the option
      value :
          New value of the option
  
      Returns
      -------
      :
          Old value of the option
      """
      d = globals()
  
      if name in {"get_option", "set_option"} or name not in d:
          from .exceptions import PlotnineError
  
          raise PlotnineError(f"Unknown option {name}")
  
      old = d[name]
      d[name] = value
      return old
  
label_desc: Use image node_id 2 for calling a global function with example usage: set_option(name, value) and returns: old