Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added TODO.

  • Loading branch information...
commit 764a2076ee1abb9a176d9b88d5dae53135e19f79 1 parent f294a03
Ralph Bean authored July 09, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  tw2/d3/widgets.py
3  tw2/d3/widgets.py
@@ -154,6 +154,9 @@ def prepare(self):
154 154
         if self.colors == None:
155 155
             raise ValueError("ChordDiagram must be provided a `colors` list")
156 156
 
  157
+        # Not necessarily so!
  158
+        # TODO -- We can use this to get linear scaled colors.
  159
+        #       var fill = d3.scale.category10();
157 160
         if len(self.data) != len(self.colors):
158 161
             raise ValueError("ChordDiagram needs 1 color per datum.")
159 162
 

0 notes on commit 764a207

Please sign in to comment.
Something went wrong with that request. Please try again.