Skip to content

Commit

Permalink
Merge pull request #2034 from BlazZupan/str-labels-distance-matrix
Browse files Browse the repository at this point in the history
[FIX] OWDistanceMatrix: Remove quotes with string labels
  • Loading branch information
ajdapretnar authored Feb 21, 2017
2 parents 9f7a94a + f08ecdc commit 66d0eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/unsupervised/owdistancematrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def _update_labels(self):
elif isinstance(self.items, Table):
var = self.annot_combo.model()[self.annotation_idx]
column, _ = self.items.get_column_view(var)
labels = [var.repr_val(value) for value in column]
labels = [var.str_val(value) for value in column]
saved_selection = self.tableview.selectionModel().selected_items()
self.tablemodel.set_labels(labels, var, column)
if labels:
Expand Down

0 comments on commit 66d0eed

Please sign in to comment.