code: def setMethod(self, value):
      self.monkey_mode = value
  
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 2 for calling the MonkeyCurveItem obj's underlying member method code with example usage: obj.setMethod(value) without return types