code: def _setColorMap(self, cmap):
      if isinstance(cmap, str):
          try:
              cmap = colormap.get(cmap)
          except FileNotFoundError:
              cmap = None
      if cmap is None:
          cmap = colormap.ColorMap(None, [0.0, 1.0])
  
      self._cmap = cmap
      self._image = None
  
imports: import importlib.util
  import re
  import numpy
  from ..None import colormap
  from ..None import functions
  from ..graphicsItems.GradientPresets import Gradients
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 3 for calling the ColorMapDisplayMixin obj's underlying member method code with example usage: obj._setColorMap(cmap) without return types