code: def mouseDragEvent(self, ev, axis=None):
      if (
          axis is not None
          and ev.button() == QtCore.Qt.MouseButton.RightButton
      ):
          ev.ignore()
      else:
          pg.ViewBox.mouseDragEvent(self, ev, axis=axis)
  
file_path: pyqtgraph/pyqtgraph/examples/customPlot.py
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore
label_desc: Use image node_id 3 for calling the CustomViewBox obj's underlying member method code with example usage: obj.mouseDragEvent(ev, axis) without return types