LabelItem¶
-
class
pyqtgraph.
LabelItem
(text=' ', parent=None, angle=0, **args)[source]¶ GraphicsWidget displaying text. Used mainly as axis labels, titles, etc.
Note: To display text inside a scaled view (ViewBox, PlotWidget, etc) use TextItem
-
__init__
(text=' ', parent=None, angle=0, **args)[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
.
-