Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added TODO.

  • Loading branch information...
commit 764a2076ee1abb9a176d9b88d5dae53135e19f79 1 parent f294a03
Ralph Bean ralphbean authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  tw2/d3/widgets.py
3  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.")
Please sign in to comment.
Something went wrong with that request. Please try again.