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",")","``","."]
docstr: Set the pen used to draw the isocurve. Arguments can be any that are valid 
  for :func:`mkPen <pyqtgraph.mkPen>`
docstr_tok: ["Set","the","pen","used","to","draw","the","isocurve",".","Arguments","can","be","any","that","are","valid","for",":","func",":","`","mkPen","<","pyqtgraph.mkPen",">","`"]
code: def setPen(self, *args, **kwargs):
      """Set the pen used to draw the isocurve. Arguments can be any that are valid
      for :func:`mkPen <pyqtgraph.mkPen>`"""
      self.pen = fn.mkPen(*args, **kwargs)
      self.update()
  
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 4 for calling the IsocurveItem obj's underlying member method code with example usage: obj.setPen() without return types