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 sizeHint(self, hint, constraint):
      if hint not in self._sizeHint:
          return QtCore.QSizeF(0, 0)
      return QtCore.QSizeF(*self._sizeHint[hint])
  
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 7 for calling the LabelItem obj's underlying member method code with example usage: obj.sizeHint(hint, constraint) and returns: QtCore, QtCore