code: def update():
      global data, curve, count
      data.append(np.random.normal(size=10) + np.sin(count * 0.1) * 5)
      if len(data) > 100:
          data.pop(0)
      curve.setData(np.hstack(data))
      count += 1
  
label_desc: Use image node_id 1 for calling a global function with example usage: update() without return types