Permalink
Browse files

Added TODO.

  • Loading branch information...
1 parent f294a03 commit 764a2076ee1abb9a176d9b88d5dae53135e19f79 @ralphbean ralphbean committed Jul 9, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 tw2/d3/widgets.py
View
@@ -154,6 +154,9 @@ def prepare(self):
if self.colors == None:
raise ValueError("ChordDiagram must be provided a `colors` list")
+ # Not necessarily so!
+ # TODO -- We can use this to get linear scaled colors.
+ # var fill = d3.scale.category10();
if len(self.data) != len(self.colors):
raise ValueError("ChordDiagram needs 1 color per datum.")

0 comments on commit 764a207

Please sign in to comment.