Browse Source

Remove color limit for legends too. Fixes #128

pull/130/head
Florian Mounier 11 years ago
parent
commit
44cb4b848b
  1. 3
      pygal/graph/graph.py

3
pygal/graph/graph.py

@ -346,7 +346,8 @@ class Graph(BaseGraph):
) / 2,
width=self.legend_box_size,
height=self.legend_box_size,
class_="color-%d reactive" % (global_serie_number % 16)
class_="color-%d reactive" % (
global_serie_number % len(self.style['colors']))
)
if isinstance(title, dict):

Loading…
Cancel
Save