IsocurveItem¶
-
class
pyqtgraph.IsocurveItem(data=None, level=0, pen='w')[source]¶ Bases:
GraphicsObjectItem displaying an isocurve of a 2D array.To align this item correctly with an ImageItem,call isocurve.setParentItem(image)
-
__init__(data=None, level=0, pen='w')[source]¶ Create a new isocurve item.
Arguments: data A 2-dimensional ndarray. Can be initialized as None, and set later using setDatalevel The cutoff value at which to draw the isocurve. pen The color of the curve item. Can be anything valid for mkPen
-
setBrush(*args, **kwargs)[source]¶ Set the brush used to draw the isocurve. Arguments can be any that are valid for
mkBrush
-