code: def __init__(self):
      self.fields = {}
      ptree.types.GroupParameter.__init__(
          self, name="Color Map", addText="Add Mapping..", addList=[]
      )
      self.sigTreeStateChanged.connect(self.mapChanged)
  
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 ColorMapParameter object from inherited base classes: ptree.types with example: obj = ColorMapParameter()