code: def _set_style(style: str = None):
      """
      Execute a style function to change the current rcParams.
  
      Args:
          style (Optional[str]): A style specification. If no style is provided,
              the latest style set with ``use_style`` is used instead.
      """
      if not style:
          __current_style_fn()
      elif style in _styles_map:
          _styles_map[style]()
      else:
          raise TypeError(
              f"style '{style}' provided to ``_set_style`` "
              f"does not exist.  Available options are {available_styles()}"
          )
  
file_path: pennylane/pennylane/drawer/style.py
label_desc: Use image node_id 12 for calling a global function with example usage: _set_style(style) without return types