Skip to content

Commit

Permalink
Merge pull request #933 from astaric/fix-pc-colors
Browse files Browse the repository at this point in the history
ParallelCoordinates: Add default color.
  • Loading branch information
lanzagar committed Dec 17, 2015
2 parents e5b0753 + dcebd34 commit 6c1841e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Orange/widgets/visualize/owparallelgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ def draw_groups(self):
nsigma2 = math.sqrt(sigma2) / diff[i + 1]

polygon = ParallelCoordinatePolygon(i, nmu1, nmu2, nsigma1, nsigma2, phi,
tuple(self.colors[j]))
tuple(self.colors[j]) if self.colors
else (0, 0, 0))
polygon.attach(self)

self.replot()
Expand Down

0 comments on commit 6c1841e

Please sign in to comment.