class_docstr: Label widget
  
  Parameters
  ----------
  text : str
      The label.
  rotation : float
      The rotation of the label.
  **kwargs : dict
      Keyword arguments to pass to TextVisual.
code: def __init__(self, text, rotation=0.0, **kwargs):
      self._text_visual = TextVisual(
          text=text, rotation=rotation, **kwargs
      )
      self.rotation = rotation
      Widget.__init__(self)
      self.add_subvisual(self._text_visual)
      self._set_pos()
  
file_path: vispy/vispy/scene/widgets/label.py
imports: from .widget import Widget
  from ...visuals import TextVisual
label_desc: Use image node_id 1 to create a new Label object from inherited base classes: Widget with example: obj = Label(text, rotation)