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 _update_slice_visibility(
      self, checkboxes, selected_slice, actor, visibility=None
  ):
      if checkboxes is not None and "" in checkboxes.checked_labels:
          visibility = True
      elif visibility is None:
          visibility = False
  
      selected_slice.visibility = visibility
      selected_slice.obj.set_visibility(visibility)
      actor.SetVisibility(visibility)
  
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 8 for calling the SlicesTab obj's underlying member method code with example usage: obj._update_slice_visibility(checkboxes, selected_slice, actor, visibility) without return types