class_docstr: **Bases:** :class:`GraphicsObject <pyqtgraph.GraphicsObject>`
  
  Item displaying an isocurve of a 2D array. To align this item correctly with an 
  ImageItem, call ``isocurve.setParentItem(image)``.
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","GraphicsObject","<","pyqtgraph.GraphicsObject",">","`","Item","displaying","an","isocurve","of","a","2D","array",".","To","align","this","item","correctly","with","an","ImageItem",",","call","``","isocurve.setParentItem","(","image",")","``","."]
code: def paint(self, p, *args):
      if self.data is None:
          return
      if self.path is None:
          self.generatePath()
      p.setPen(self.pen)
      p.drawPath(self.path)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/IsocurveItem.py
imports: from ..None import functions
  from ..None import getConfigOption
  from ..Qt import QtCore, QtGui
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 9 for calling the IsocurveItem obj's underlying member method code with example usage: obj.paint(p) without return types