code: def updateData():
      yd, xd = rand(10000)
      p1.setData(y=yd, x=xd)
  
file_path: pyqtgraph/pyqtgraph/examples/ViewBox.py
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