code: def change_slice_x(slider):
      x = int(np.round(slider.value))
      image_actor_x.display_extent(
          x, x, 0, shape[1] - 1, 0, shape[2] - 1
      )
  
file_path: dipy/doc/examples/viz_advanced.py
imports: import numpy
  from dipy.data.fetcher import fetch_bundles_2_subjects, read_bundles_2_subjects
  from dipy.tracking.streamline import Streamlines
  from dipy.viz import actor, window, ui
label_desc: Use image node_id 2 for calling a global function with example usage: change_slice_x(slider) without return types