code: def __init__(self, size):
      ROI.__init__(
          self, pos=[0, 0], size=size
      )  # , scaleSnap=True, translateSnap=True)
      self.addScaleHandle([1, 1], [0, 0])
      self.addRotateHandle([0, 0], [0.5, 0.5])
  
imports: import os
  from math import log10
  from time import perf_counter
  import numpy
  from ..None import debug
  from ..None import functions
  from ..None import getConfigOption
  from ..graphicsItems.GradientEditorItem import addGradientListToDocstring
  from ..graphicsItems.ImageItem import ImageItem
  from ..graphicsItems.InfiniteLine import InfiniteLine
  from ..graphicsItems.LinearRegionItem import LinearRegionItem
  from ..graphicsItems.ROI import ROI
  from ..graphicsItems.ViewBox import ViewBox
  from ..graphicsItems.VTickGroup import VTickGroup
  from ..Qt import QtCore, QtGui, QtWidgets
  from ..SignalProxy import SignalProxy
  from .None import ImageViewTemplate_generic
label_desc: Use image node_id 1 to create a new PlotROI object from inherited base classes: ROI with example: obj = PlotROI(size)