code: def __init__(self, *args, **kwds):
      kwds["enableMenu"] = False
      pg.ViewBox.__init__(self, *args, **kwds)
      self.setMouseMode(self.RectMode)
  
file_path: pyqtgraph/pyqtgraph/examples/customPlot.py
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore
label_desc: Use image node_id 1 to create a new CustomViewBox object from inherited base classes: pg with example: obj = CustomViewBox()