code: def zoomTo2():
      # note that box1 is defined below
      view.autoRange(items=[box2])
  
file_path: pyqtgraph/pyqtgraph/examples/contextMenu.py
imports: import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling a global function with example usage: zoomTo2() without return types