code: def test_disable_picking(sphere, left_clicking):
      pl = pv.Plotter()
      pl.add_mesh(sphere)
      pl.enable_surface_point_picking(left_clicking=left_clicking)
      pl.disable_picking()
      pl.show(auto_close=False)
  
      assert pl._picking_text not in pl.renderer.actors
  
      width, height = pl.window_size
  
      # This verifies callbacks are removed from click events
      if left_clicking:
          pl.iren._mouse_left_button_click(width // 2, height // 2)
      else:
          pl.iren._mouse_right_button_click(width // 2, height // 2)
  
      assert pl.picked_point is None
  
      pl.disable_picking()
  
imports: import os
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.plotting.errors import PyVistaPickingError
label_desc: Use image node_id 6 for calling a global function with example usage: test_disable_picking(sphere, left_clicking) without return types