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: Create a new isocurve item. 
  
  ==============  ===============================================================
  **Arguments:**
  data            A 2-dimensional ndarray. Can be initialized as None, and set
                  later using :func:`setData <pyqtgraph.IsocurveItem.setData>`
  level           The cutoff value at which to draw the isocurve.
  pen             The color of the curve item. Can be anything valid for
                  :func:`mkPen <pyqtgraph.mkPen>`
  axisOrder       May be either 'row-major' or 'col-major'. By default this uses
                  the ``imageAxisOrder``
                  :ref:`global configuration option <apiref_config>`.
  ==============  ===============================================================
docstr_tok: ["Create","a","new","isocurve","item",".","==============","===============================================================","*","*","Arguments",":","*","*","data","A","2-dimensional","ndarray",".","Can","be","initialized","as","None",",","and","set","later","using",":","func",":","`","setData","<","pyqtgraph.IsocurveItem.setData",">","`","level","The","cutoff","value","at","which","to","draw","the","isocurve",".","pen","The","color","of","the","curve","item",".","Can","be","anything","valid","for",":","func",":","`","mkPen","<","pyqtgraph.mkPen",">","`","axisOrder","May","be","either","'row-major","'","or","'col-major","'",".","By","default","this","uses","the","``","imageAxisOrder","``",":","ref",":","`","global","configuration","option","<","apiref_config",">","`",".","==============","==============================================================="]
code: def __init__(self, data=None, level=0, pen="w", axisOrder=None):
      """
      Create a new isocurve item.
  
      ==============  ===============================================================
      **Arguments:**
      data            A 2-dimensional ndarray. Can be initialized as None, and set
                      later using :func:`setData <pyqtgraph.IsocurveItem.setData>`
      level           The cutoff value at which to draw the isocurve.
      pen             The color of the curve item. Can be anything valid for
                      :func:`mkPen <pyqtgraph.mkPen>`
      axisOrder       May be either 'row-major' or 'col-major'. By default this uses
                      the ``imageAxisOrder``
                      :ref:`global configuration option <apiref_config>`.
      ==============  ===============================================================
      """
      GraphicsObject.__init__(self)
  
      self.level = level
      self.data = None
      self.path = None
      self.axisOrder = (
          getConfigOption("imageAxisOrder")
          if axisOrder is None
          else axisOrder
      )
      self.setPen(pen)
      self.setData(data, level)
  
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 1 to create a new IsocurveItem object from inherited base classes: GraphicsObject with example: obj = IsocurveItem(data, level, pen, axisOrder)