Skip to content

Commit 9712459

Browse files
lanzagarastaric
authored andcommitted
Merge pull request biolab#1884 from VesnaT/fix_owpredictions
[FIX] OWPredictions: Fix crash when opening report (cherry picked from commit ae6e05a)
1 parent 26ce995 commit 9712459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/widgets/evaluate/owpredictions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def merge_data_with_predictions():
504504
text = self.infolabel.text().replace('\n', '<br>')
505505
if self.show_probabilities and self.selected_classes:
506506
text += '<br>Showing probabilities for: '
507-
text += ', '. join([self.data.domain.class_var.values[i]
507+
text += ', '. join([self.class_values[i]
508508
for i in self.selected_classes])
509509
self.report_paragraph('Info', text)
510510
self.report_table("Data & Predictions", merge_data_with_predictions(),

0 commit comments

Comments
 (0)