Skip to content

Commit

Permalink
Merge pull request Kozea#350 from Brandhor/master
Browse files Browse the repository at this point in the history
wrong label colors when there are more series than colors
  • Loading branch information
paradoxxxzero authored Jul 5, 2017
2 parents 48c6396 + 35307ac commit 705fc8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pygal/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ def _legend(self):
) / 2,
width=self.legend_box_size,
height=self.legend_box_size,
class_="color-%d reactive" % (
serie_number % len(self.style.colors))
class_="color-%d reactive" % serie_number
)

if isinstance(title, dict):
Expand Down

0 comments on commit 705fc8f

Please sign in to comment.