code: def update_resolution(resolution, **kwargs):
      algo.resolution = resolution
      ctrl.view_update()
  
imports: import asyncio
  import pyvista
  from pyvista.trame.ui.vuetify3 import button, divider, select, slider, text_field
label_desc: Use image node_id 3 for calling a global function with example usage: update_resolution(resolution) without return types