code: def updateImage():
      global im1, arr, lastRoi
      r = abs(
          np.random.normal(
              loc=0, scale=(arr.max() - arr.min()) * 0.1, size=arr.shape
          )
      )
      im1.updateImage(arr + r)
      updateRoi(lastRoi)
      for r in rois:
          updateRoiPlot(r)
  
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtGui
label_desc: Use image node_id 3 for calling a global function with example usage: updateImage() without return types