code: def test_widget_abstraction_notebook(renderer_notebook, nbexec):
      """Test the GUI widgets abstraction in notebook."""
      from pathlib import Path
  
      from IPython import get_ipython
  
      from mne.viz import set_3d_backend
      from mne.viz.backends.renderer import _get_backend
      from mne.viz.backends.tests.test_abstract import _do_widget_tests
  
      set_3d_backend("notebook")
      backend = _get_backend()
      assert Path(backend.__file__).stem == "_notebook"
  
      ipython = get_ipython()
      ipython.magic("%matplotlib widget")
      _do_widget_tests(backend)
  
imports: from pathlib import Path
  from mne.viz.backends.renderer import _get_backend
  from mne.viz.backends.tests._utils import skips_if_not_pyvistaqt
label_desc: Use image node_id 3 for calling a global function with example usage: test_widget_abstraction_notebook(renderer_notebook, nbexec) without return types