code: def mkItem(pxMode=True, useCache=True):
      global item
      item = pg.ScatterPlotItem(pxMode=pxMode, **getData())
      item.opts["useCache"] = useCache
      p.clear()
      p.addItem(item)
  
file_path: pyqtgraph/pyqtgraph/examples/ScatterPlotSpeedTest.py
imports: import argparse
  import itertools
  import re
  import numpy
  from utils import FrameCounter
  import pyqtgraph
  import pyqtgraph.parametertree
  from pyqtgraph.Qt import QtCore, QtWidgets
label_desc: Use image node_id 3 for calling a global function with example usage: mkItem(pxMode, useCache) without return types