code: def _get_browser(show, block, **kwargs):
      """Instantiate a new MNE browse-style figure."""
      from .utils import _get_figsize_from_config
  
      figsize = kwargs.setdefault("figsize", _get_figsize_from_config())
      if figsize is None or np.any(np.array(figsize) < 8):
          kwargs["figsize"] = (8, 8)
      kwargs["splash"] = kwargs.get("splash", True) and show
      if kwargs.get("theme", None) is None:
          kwargs["theme"] = get_config("MNE_BROWSER_THEME", "auto")
      if kwargs.get("overview_mode", None) is None:
          kwargs["overview_mode"] = get_config(
              "MNE_BROWSER_OVERVIEW_MODE", "channels"
          )
  
      # Initialize browser backend
      backend_name = get_browser_backend()
      # Check mne-qt-browser compatibility
      if backend_name == "qt":
          import mne_qt_browser
  
          from ..epochs import BaseEpochs
  
          is_ica = kwargs.get("ica", False)
          is_epochs = isinstance(kwargs.get("inst", False), BaseEpochs)
          not_compat = _compare_version(
              mne_qt_browser.__version__, "<", "0.2.0"
          )
          inst_str = "ICA" if is_ica else "Epochs"
          if not_compat and (is_ica or is_epochs):
              logger.info(
                  f'You set the browser-backend to "qt" but your'
                  f" current version {mne_qt_browser.__version__}"
                  f" of mne-qt-browser is too low for {inst_str}."
                  f"Update with pip or conda."
                  f"Defaults to matplotlib."
              )
              with use_browser_backend("matplotlib"):
                  # Initialize Browser
                  fig = backend._init_browser(**kwargs)
                  _show_browser(show=show, block=block, fig=fig)
                  return fig
  
      # Initialize Browser
      fig = backend._init_browser(**kwargs)
      _show_browser(show=show, block=block, fig=fig)
  
      return fig
  
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 2 for calling a global function with example usage: _get_browser(show, block) and returns: fig, fig