code: def recluster_tractograms(self, thr):
      for cent in self.__centroid_actors:
          self.__scene.rm(self.__centroid_actors[cent]["actor"])
      for clus in self.__cluster_actors:
          self.__scene.rm(self.__cluster_actors[clus]["actor"])
      self.__tractogram_clusters = {}
      self.__centroid_actors = {}
      self.__cluster_actors = {}
      self.__lengths = []
      self.__sizes = []
  
      # Keeping states of some attributes
      self.__first_time = False
  
      for t, sft in enumerate(self.__tractograms):
          streamlines = sft.streamlines
          self.add_cluster_actors(
              t, streamlines, thr, self.__tractogram_colors[t]
          )
  
file_path: dipy/dipy/viz/horizon/visualizer/cluster.py
imports: import numpy
  from dipy.segment.clustering import qbx_and_merge
  from dipy.tracking.streamline import length
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 6 for calling the ClustersVisualizer obj's underlying member method code with example usage: obj.recluster_tractograms(thr) without return types