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","."]
docstr: Updates slicer positions.
  
  Parameters
  ----------
  x_slice: float
      x-value where the slicer should be placed
  y_slice: float
      y-value where the slicer should be placed
  z_slice: float
      z-value where the slicer should be placed
docstr_tok: ["Updates","slicer","positions",".","Parameters","--","--","--","--","--","x_slice",":","float","x-value","where","the","slicer","should","be","placed","y_slice",":","float","y-value","where","the","slicer","should","be","placed","z_slice",":","float","z-value","where","the","slicer","should","be","placed"]
code: def update_slices(self, x_slice, y_slice, z_slice):
      """Updates slicer positions.
  
      Parameters
      ----------
      x_slice: float
          x-value where the slicer should be placed
      y_slice: float
          y-value where the slicer should be placed
      z_slice: float
          z-value where the slicer should be placed
      """
      if not self._slice_x.obj.value == x_slice:
          self._slice_x.obj.value = x_slice
  
      if not self._slice_y.obj.value == y_slice:
          self._slice_y.obj.value = y_slice
  
      if not self._slice_z.obj.value == z_slice:
          self._slice_z.obj.value = z_slice
  
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 13 for calling the SlicesTab obj's underlying member method code with example usage: obj.update_slices(x_slice, y_slice, z_slice) without return types