code: def __getattr__(name):
      """Fetch an attribute ``name`` from ``globals()`` or the ``pyvista.plotting`` module.
  
      This override is implemented to prevent importing all of the plotting module
      and GL-dependent VTK modules when importing PyVista.
  
      Raises
      ------
      AttributeError
          If the attribute is not found.
  
      """
      import importlib
      import inspect
  
      allow = {
          "demos",
          "examples",
          "ext",
          "trame",
          "utilities",
      }
      if name in allow:
          return importlib.import_module(f"pyvista.{name}")
  
      # avoid recursive import
      if "pyvista.plotting" not in sys.modules:
          import pyvista.plotting
  
      try:
          feature = inspect.getattr_static(
              sys.modules["pyvista.plotting"], name
          )
      except AttributeError:
          raise AttributeError(
              f"module 'pyvista' has no attribute '{name}'"
          ) from None
  
      return feature
  
file_path: pyvista/pyvista/__init__.py
imports: import os
  import sys
  import warnings
  from pyvista._plot import plot
  from pyvista._version import __version__
  from pyvista.core import *
  from pyvista.core.cell import _get_vtk_id_type
  from pyvista.core.utilities.observers import send_errors_to_logging
  from pyvista.core.wrappers import _wrappers
  from pyvista.jupyter import set_jupyter_backend
  from pyvista.report import GPUInfo, Report, get_gpu_info, vtk_version_info
label_desc: Use image node_id 1 for calling a global function with example usage: __getattr__(name) and returns: feature, importlib