GraphicsWidget

class pyqtgraph.GraphicsWidget(*args, **kargs)[source]
__init__(*args, **kargs)[source]

Bases: GraphicsItem, QtGui.QGraphicsWidget

Extends QGraphicsWidget with several helpful methods and workarounds for PyQt bugs. Most of the extra functionality is inherited from GraphicsItem.

boundingRect(self) → QRectF[source]
shape(self) → QPainterPath[source]