We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4f4ba commit 036e96dCopy full SHA for 036e96d
Orange/widgets/unsupervised/owhierarchicalclustering.py
@@ -627,9 +627,9 @@ def _update_labels(self):
627
self.labels.setMinimumWidth(1 if labels else -1)
628
629
if not self.pruning and self.color_by is not None:
630
+ col = self.items.get_column_view(self.color_by)[0].astype(float)
631
self.label_model.set_colors(
- self.color_by.palette.values_to_qcolors(
632
- self.items.get_column_view(self.color_by)[0][indices]))
+ self.color_by.palette.values_to_qcolors(col[indices]))
633
else:
634
self.label_model.set_colors(None)
635
0 commit comments