code: def update():
      if next(iterations_counter) > args.iterations:
          timer.stop()
          app.quit()
          return None
  
      data = np.random.normal(size=(10000, 50)).sum(axis=1)
      data += 5 * np.sin(np.linspace(0, 10, data.shape[0]))
  
      if rcheck.isChecked():
          rplt.plot(
              data, clear=True, _callSync="off"
          )  ## We do not expect a return value.
          ## By turning off callSync, we tell
          ## the proxy that it does not need to
          ## wait for a reply from the remote
          ## process.
      if lcheck.isChecked():
          lplt.plot(data, clear=True)
  
      framecnt.update()
  
imports: import argparse
  import itertools
  import numpy
  from utils import FrameCounter
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtWidgets
label_desc: Use image node_id 1 for calling a global function with example usage: update() and returns: None