code: def updateData():
      yd, xd = rand(10000)
      p1.setData(y=yd, x=xd)
  
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtWidgets
label_desc: Use image node_id 2 for calling a global function with example usage: updateData() without return types