code: def paint(self, painter, opt, widget):
      if self.monkey_mode not in ["drawPolyline"]:
          return super().paint(painter, opt, widget)
  
      painter.setRenderHint(
          painter.RenderHint.Antialiasing, self.opts["antialias"]
      )
      painter.setPen(pg.mkPen(self.opts["pen"]))
  
      if self.monkey_mode == "drawPolyline":
          painter.drawPolyline(
              fn.arrayToQPolygonF(self.xData, self.yData)
          )
  
file_path: pyqtgraph/pyqtgraph/examples/PlotSpeedTest.py
imports: import argparse
  import itertools
  import numpy
  from utils import FrameCounter
  import pyqtgraph
  import pyqtgraph.functions
  import pyqtgraph.parametertree
  from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 3 for calling the MonkeyCurveItem obj's underlying member method code with example usage: obj.paint(painter, opt, widget) and returns: super