Permalink
Browse files

Merge branch 'master' of git@github.com:chrisdrackett/django-googlech…

…arts
  • Loading branch information...
2 parents eb90fd4 + d3963df commit ecbe5829d559b0d7fffe4c427f398ee3dc08063e Liza Daly committed Jan 19, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 templatetags/charts.py
View
@@ -366,7 +366,7 @@ def chart_auto_colors(color, item_label_list):
value = hsv[1] * .2
else:
# otherwise, do a calculation
- value = 1 - (.8/(len(item_label_list)-1)) * hsv[1]
+ value = (1 - (.8/(len(item_label_list)-1))) * hsv[1]
# Convert back to rgb
c_list = colorsys.hsv_to_rgb(hsv[0], value, hsv[2])

0 comments on commit ecbe582

Please sign in to comment.