code: def setOrientation(self, o):
      if self.orientation == o:
          return
      self.orientation = o
      self.update()
      self.updateGeometry()
  
file_path: pyqtgraph/pyqtgraph/widgets/VerticalLabel.py
imports: import warnings
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling the VerticalLabel obj's underlying member method code with example usage: obj.setOrientation(o) without return types