code: def updatePlot():
      p9.setXRange(*lr.getRegion(), padding=0)
  
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore
label_desc: Use image node_id 2 for calling a global function with example usage: updatePlot() without return types