code: def updatePolygonSize(self):
      for poly in self.polygon_items:
          for grip in poly.m_items:
              grip.updateSize()
          for line in poly.m_lines:
              line.updateWidth()
  
imports: from qtpy import QtWidgets, QtCore
  from qtpy.QtCore import Qt, QPointF
  from qtpy.QtGui import QPen, QColor
label_desc: Use image node_id 4 for calling the AnnotationScene obj's underlying member method code with example usage: obj.updatePolygonSize() without return types