code: def update():
      t = time.time() - t0
  
      data = np.ones(100) * np.sin(t)
      data[50:60] += np.sin(t)
      curve.setData(data)
  
imports: import time
  import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore
label_desc: Use image node_id 1 for calling a global function with example usage: update() without return types