Skip to content

Commit

Permalink
Merge pull request #359 from Yuliang-Lee/master
Browse files Browse the repository at this point in the history
fix: set secondary series 'stroke_style' property to no effect
  • Loading branch information
paradoxxxzero committed Jul 5, 2017
2 parents 40be961 + 36cb49d commit 48c6396
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pygal/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,4 +491,8 @@ def stroke_dict_to_css(stroke, i=None):
for serie in self.graph.series:
if serie.stroke_style is not None:
css.append(stroke_dict_to_css(serie.stroke_style, serie.index))

for secondary_serie in self.graph.secondary_series:
if secondary_serie.stroke_style is not None:
css.append(stroke_dict_to_css(secondary_serie.stroke_style, secondary_serie.index))
return '\n'.join(css)

0 comments on commit 48c6396

Please sign in to comment.