Browse Source

Merge pull request #350 from Brandhor/master

wrong label colors when there are more series than colors
pull/373/merge
Mounier Florian 7 years ago committed by GitHub
parent
commit
705fc8fa16
  1. 3
      pygal/graph/graph.py

3
pygal/graph/graph.py

@ -390,8 +390,7 @@ class Graph(PublicApi):
) / 2, ) / 2,
width=self.legend_box_size, width=self.legend_box_size,
height=self.legend_box_size, height=self.legend_box_size,
class_="color-%d reactive" % ( class_="color-%d reactive" % serie_number
serie_number % len(self.style.colors))
) )
if isinstance(title, dict): if isinstance(title, dict):

Loading…
Cancel
Save