code: def use_browser_backend(backend_name):
      """Create a 2D browser visualization context using the designated backend.
  
      See :func:`mne.viz.set_browser_backend` for more details on the available
      2D browser backends and their capabilities.
  
      Parameters
      ----------
      backend_name : {'qt', 'matplotlib'}
          The 2D browser backend to use in the context.
      """
      old_backend = set_browser_backend(backend_name)
      try:
          yield backend
      finally:
          if old_backend is not None:
              try:
                  set_browser_backend(old_backend)
              except Exception:
                  pass
  
imports: import importlib
  from abc import ABC, abstractmethod
  from collections import OrderedDict
  from contextlib import contextmanager
  from copy import deepcopy
  from itertools import cycle
  import numpy
  from .._fiff.pick import _DATA_CH_TYPES_SPLIT
  from ..defaults import _handle_default
  from ..filter import _iir_filter, _overlap_add_filter
  from ..fixes import _compare_version
  from ..utils import _check_option, _get_stim_channel, _validate_type, get_config, logger, set_config, verbose
  from .backends._utils import VALID_BROWSE_BACKENDS
  from .utils import _get_color_list, _setup_plot_projector, _show_browser
label_desc: Use image node_id 7 for calling a global function with example usage: use_browser_backend(backend_name) without return types