FillBetweenItem

class pyqtgraph.FillBetweenItem(curve1=None, curve2=None, brush=None, pen=None)[source]

GraphicsItem filling the space between two PlotDataItems.

__init__(curve1=None, curve2=None, brush=None, pen=None)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

setBrush(*args, **kwds)[source]

Change the fill brush. Acceps the same arguments as pg.mkBrush()

setCurves(curve1, curve2)[source]

Set the curves to fill between.

Arguments must be instances of PlotDataItem or PlotCurveItem.

Added in version 0.9.9

setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])[source]