code: def test_disable_clip_item():
      """LRI clipItem (ImageItem) disabled by explicit call to setBounds"""
      init_vals = (5, 40)
  
      p = pg.PlotWidget()
      img = pg.ImageItem(image=np.eye(20, 20))
      p.addItem(img)
  
      lr = pg.LinearRegionItem(init_vals, clipItem=img)
      p.addItem(lr)
  
      app.processEvents()
  
      # initial bound that was out of range snaps to the imageitem bound
      check_region(lr, (init_vals[0], img.height()), exact=True)
  
      # disable clipItem, move the right InfiniteLine beyond the new bound
      lr.setBounds(init_vals)
      lr.lines[1].setPos(init_vals[1] + 10)
  
      app.processEvents()
  
      check_region(lr, init_vals, exact=True)
  
file_path: pyqtgraph/tests/graphicsItems/test_LinearRegionItem.py
imports: import math
  import numpy
  import pytest
  import pyqtgraph
label_desc: Use image node_id 3 for calling a global function with example usage: test_disable_clip_item() without return types