code: def setFixedWidth(self, h):
      self.setMaximumWidth(h)
      self.setMinimumWidth(h)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/GraphicsWidget.py
imports: from ..Qt import QtCore, QtGui, QtWidgets
  from .GraphicsItem import GraphicsItem
label_desc: Use image node_id 4 for calling the GraphicsWidget obj's underlying member method code with example usage: obj.setFixedWidth(h) without return types