class_docstr: A base class containing for the 2D browser.
  
  This class contains all backend-independent attributes and methods.
class_docstr_tok: ["A","base","class","containing","for","the","2D","browser",".","This","class","contains","all","backend-independent","attributes","and","methods","."]
docstr: Make an altered copy of the selections dict for butterfly mode.
docstr_tok: ["Make","an","altered","copy","of","the","selections","dict","for","butterfly","mode","."]
code: def _make_butterfly_selections_dict(self):
      """Make an altered copy of the selections dict for butterfly mode."""
      selections_dict = deepcopy(self.mne.ch_selections)
      # remove potential duplicates
      for selection_group in ("Vertex", "Custom"):
          selections_dict.pop(selection_group, None)
      # if present, remove stim channel from non-misc selection groups
      stim_ch = _get_stim_channel(
          None, self.mne.info, raise_error=False
      )
      if len(stim_ch):
          stim_pick = self.mne.ch_names.tolist().index(stim_ch[0])
          for _sel, _picks in selections_dict.items():
              if _sel != "Misc":
                  stim_mask = np.isin(_picks, [stim_pick], invert=True)
                  selections_dict[_sel] = np.array(_picks)[stim_mask]
      return selections_dict
  
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 10 for calling the BrowserBase obj's underlying member method code with example usage: obj._make_butterfly_selections_dict() and returns: selections_dict