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]#
setBrush(*args, **kwds)[source]#

Change the fill brush. Accepts 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