Skip to content

Commit

Permalink
[FIX] OWScatterPlot: Fix progress bar percentages
Browse files Browse the repository at this point in the history
Set list of attributes needed to calculate number of projections. Fixes #1536
  • Loading branch information
tomazc committed Oct 7, 2016
1 parent 5247253 commit 19a222e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Orange/widgets/visualize/owscatterplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19a222e

Please sign in to comment.