class_docstr: Registered parameter type which displays a :class:`GradientWidget <pyqtgraph.GradientWidget>`
code: def makeWidget(self):
      w = GradientWidget(orientation="bottom")
      w.sizeHint = lambda: QtCore.QSize(300, 35)
      w.sigChanged = w.sigGradientChangeFinished
      w.sigChanging = w.sigGradientChanged
      w.value = w.colorMap
      w.setValue = w.setColorMap
      self.hideWidget = False
      self.asSubItem = True
      return w
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/colormap.py
imports: from ...colormap import ColorMap
  from ...Qt import QtCore
  from ...widgets.GradientWidget import GradientWidget
  from .basetypes import SimpleParameter, WidgetParameterItem
label_desc: Use image node_id 1 for calling the ColorMapParameterItem obj's underlying member method code with example usage: obj.makeWidget() and returns: w