code: def update_resolution(value):
      """Callback to set the resolution of the cone generator."""
      res = round(value)
      algo.resolution = res
  
imports: import vtk
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 1 for calling a global function with example usage: update_resolution(value) without return types