Browse Source

Merge pull request #359 from Yuliang-Lee/master

fix: set secondary series 'stroke_style' property to no effect
pull/373/merge
Mounier Florian 7 years ago committed by GitHub
parent
commit
48c6396299
  1. 4
      pygal/svg.py

4
pygal/svg.py

@ -491,4 +491,8 @@ class Svg(object):
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)

Loading…
Cancel
Save