code: def update():
      global ptr
      curve.setData(data[ptr % 10])
      ptr += 1
      framecnt.update()
  
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore
  from utils import FrameCounter
label_desc: Use image node_id 1 for calling a global function with example usage: update() without return types