class_docstr: GraphicsWidget displaying text.
  Used mainly as axis labels, titles, etc.
  
  Note: To display text inside a scaled view (ViewBox, PlotWidget, etc) use TextItem
code: def __init__(self, text=" ", parent=None, angle=0, **args):
      GraphicsWidget.__init__(self, parent)
      GraphicsWidgetAnchor.__init__(self)
      self.item = QtWidgets.QGraphicsTextItem(self)
      self.opts = {"color": None, "justify": "center"}
      self.opts.update(args)
      self._sizeHint = {}
      self.setText(text)
      self.setAngle(angle)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/LabelItem.py
imports: from ..None import functions
  from ..None import getConfigOption
  from ..Qt import QtCore, QtWidgets, QtGui
  from .GraphicsWidget import GraphicsWidget
  from .GraphicsWidgetAnchor import GraphicsWidgetAnchor
label_desc: Use image node_id 1 to create a new LabelItem object from inherited base classes: GraphicsWidgetAnchor, GraphicsWidget with example: obj = LabelItem(text, parent, angle)