code: def set_max_alpha(max_value):
      min_value = lut.alpha_range[0]
      if max_value < min_value:
          # force the movement of the minimum value
          min_value = max_value
          pl.slider_widgets[0].GetRepresentation().SetValue(min_value)
  
      lut.alpha_range = (min_value, max_value)
  
imports: import pyvista
  from pyvista import examples
label_desc: Use image node_id 2 for calling a global function with example usage: set_max_alpha(max_value) without return types