Author: eallen
Date: 2011-03-21 17:48:48 +0000 (Mon, 21 Mar 2011)
New Revision: 4653
Modified:
trunk/cumin/python/cumin/stat.py
Log:
Change pie chart color scheme to not have red and green as the 1st 2 colors
Modified: trunk/cumin/python/cumin/stat.py
===================================================================
--- trunk/cumin/python/cumin/stat.py 2011-03-21 17:42:45 UTC (rev 4652)
+++ trunk/cumin/python/cumin/stat.py 2011-03-21 17:48:48 UTC (rev 4653)
@@ -266,15 +266,15 @@
BLUES = "blues"
GROUP2 = "group2"
BLANK = "blank"
- color_schemes = {"rainbow": [(1,0,0), (0,1,0), (0,0,1), (1,1,0), (1,0,1),
(0,1,1)],
+ color_schemes = {"rainbow": [(0,0,1), (1,1,0), (1,0,1), (0,1,1), (1,0,0),
(0,1,0)],
"greens": [(0,1,0), (.9,1,.9), (.6,1,.6), (.3,.6,.3),
(0,.5,0)],
"blues": [(0,0,1), (.9,.9,1), (.6,.6,1), (.3,.3,.6),
(0,0,.5)],
- "group2": [(1,0,0), (1,.6,.6),
- (0,1,0), (.6,1,.6),
- (0,0,1), (.6,.6,1),
+ "group2": [(0,0,1), (.6,.6,1),
(1,1,0), (1,1,.6),
(1,0,1), (1,.6,1),
- (0,1,1), (.6,1,1)],
+ (0,1,1), (.6,1,1),
+ (1,0,0), (1,.6,.6),
+ (0,1,0), (.6,1,.6)],
"blank": [(1,1,1), (1,1,1), (1,1,1), (1,1,1)]}
def __init__(self, app, name):