class pyqtgraph.PlotWidget(parent=None, background='default', **kargs)[source]
__init__(parent=None, background='default', **kargs)[source]

When initializing PlotWidget, parent and background are passed to GraphicsWidget.__init__() and all others are passed to PlotItem.__init__().


Return the PlotItem contained within.


GraphicsView widget with a single PlotItem inside.

The following methods are wrapped directly from PlotItem: addItem, removeItem, clear, setXRange, setYRange, setRange, autoRange, setXLink, setYLink, viewRect, setMouseEnabled, enableAutoRange, disableAutoRange, setAspectLocked, setLimits, register, unregister

For all other methods, use getPlotItem.