class_docstr: **Bases:** :class:`GraphicsObject <pyqtgraph.GraphicsObject>`
  
  GraphicsObject displaying an image with non-uniform sample points. It's
  commonly used to display 2-d or slices of higher dimensional data that
  have a regular but non-uniform grid e.g. measurements or simulation results.
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","GraphicsObject","<","pyqtgraph.GraphicsObject",">","`","GraphicsObject","displaying","an","image","with","non-uniform","sample","points",".","It's","commonly","used","to","display","2-d","or","slices","of","higher","dimensional","data","that","have","a","regular","but","non-uniform","grid","e.g",".","measurements","or","simulation","results","."]
code: def setColorMap(self, cmap):
      self.setLookupTable(cmap.getLookupTable(nPts=256), update=True)
      self.cmap = cmap
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/NonUniformImage.py
imports: import warnings
  import numpy
  from ..None import functions
  from ..colormap import ColorMap
  from ..None import Qt
  from ..Qt import QtCore, QtGui
  from .GraphicsObject import GraphicsObject
  from .HistogramLUTItem import HistogramLUTItem
label_desc: Use image node_id 3 for calling the NonUniformImage obj's underlying member method code with example usage: obj.setColorMap(cmap) without return types