class_docstr: **Bases:** :class:`GraphicsObject <pyqtgraph.GraphicsObject>`
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","GraphicsObject","<","pyqtgraph.GraphicsObject",">","`"]
code: def setColorMap(self, cmap):
      self.setLookupTable(
          cmap.getLookupTable(nPts=256, mode=cmap.QCOLOR), update=True
      )
      self.cmap = cmap
  
imports: import numpy
  from ..None import Qt, colormap
  from ..None import functions
  from ..Qt import QtCore, QtGui
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 10 for calling the PColorMeshItem obj's underlying member method code with example usage: obj.setColorMap(cmap) without return types