code: def _needs_mpl(func):
      def wrapper():
          if not _has_mpl:  # pragma: no cover
              raise ImportError(
                  "The drawer style module requires matplotlib. "
                  "You can install matplotlib via \n\n   pip install matplotlib"
              )
          func()
  
      return wrapper
  
file_path: pennylane/pennylane/drawer/style.py
label_desc: Use image node_id 1 for calling a global function with example usage: _needs_mpl(func) and returns: wrapper