class_docstr: This class provides a widget allowing the user to customize color mapping
  for multi-column data. Given a list of field names, the user may specify
  multiple criteria for assigning colors to each record in a numpy record array.
  Multiple criteria are evaluated and combined into a single color for each
  record by user-defined compositing methods.
  
  For simpler color mapping using a single gradient editor, see 
  :class:`GradientWidget <pyqtgraph.GradientWidget>`
code: def __init__(self, parent=None):
      ptree.ParameterTree.__init__(
          self, parent=parent, showHeader=False
      )
  
      self.params = ColorMapParameter()
      self.setParameters(self.params)
      self.params.sigTreeStateChanged.connect(self.mapChanged)
  
      ## wrap a couple methods
      self.setFields = self.params.setFields
      self.map = self.params.map
  
imports: from collections import OrderedDict
  import numpy
  from ..None import functions
  from ..None import parametertree
  from ..Qt import QtCore
label_desc: Use image node_id 1 to create a new ColorMapWidget object from inherited base classes: ptree with example: obj = ColorMapWidget(parent)