(self)
When the target class / node coloring needs to be updated.
When the target class / node coloring needs to be updated.
When the target class / node coloring needs to be updated .
def update_colors(self):
        """When the target class / node coloring needs to be updated."""
        self.ptree.target_class_changed(self.target_class_index)
        self._update_legend_colors()
def update_colors ( self ) : self . ptree . target_class_changed ( self . target_class_index ) self . _update_legend_colors ( )