From 19a222e2bac5e601173d94b229d5d17a0386b7cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Curk?= Date: Fri, 7 Oct 2016 15:39:42 +0200 Subject: [PATCH] [FIX] OWScatterPlot: Fix progress bar percentages Set list of attributes needed to calculate number of projections. Fixes #1536 --- Orange/widgets/visualize/owscatterplot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Orange/widgets/visualize/owscatterplot.py b/Orange/widgets/visualize/owscatterplot.py index 83a71eb402a..0c1cbab55c7 100644 --- a/Orange/widgets/visualize/owscatterplot.py +++ b/Orange/widgets/visualize/owscatterplot.py @@ -305,6 +305,7 @@ def set_data(self, data): if not same_domain: self.init_attr_values() self.vizrank.initialize() + self.vizrank.attrs = self.data.domain.attributes if self.data is not None else [] self.vizrank_button.setEnabled( self.data is not None and self.data.domain.class_var is not None and len(self.data.domain.attributes) > 1 and len(self.data) > 1)