class_docstr: Interaction tab for slice visualization.
  
  Attributes
  ----------
  name : str
      Name of the tab.
class_docstr_tok: ["Interaction","tab","for","slice","visualization",".","Attributes","--","--","--","--","--","name",":","str","Name","of","the","tab","."]
code: def _change_slice_value(
      self, slider, selected_slice, sync_slice=False
  ):
      selected_slice.selected_value = int(np.rint(slider.value))
      if not sync_slice:
          self.on_slice_change(
              self._tab_id,
              self._slice_x.selected_value,
              self._slice_y.selected_value,
              self._slice_z.selected_value,
          )
      self._visualize_slice_x(
          x1=self._slice_x.selected_value,
          x2=self._slice_x.selected_value,
      )
      self._visualize_slice_y(
          y1=self._slice_y.selected_value,
          y2=self._slice_y.selected_value,
      )
      self._visualize_slice_z(
          z1=self._slice_z.selected_value,
          z2=self._slice_z.selected_value,
      )
  
imports: import warnings
  from functools import partial
  import numpy
  from dipy.utils.optpkg import optional_package
  from dipy.viz.horizon.tab import HorizonTab, build_label, build_slider, build_switcher, build_checkbox
label_desc: Use image node_id 7 for calling the SlicesTab obj's underlying member method code with example usage: obj._change_slice_value(slider, selected_slice, sync_slice) without return types