Browse Source

fix: set secondary series 'stroke_style' property to no effect

https://github.com/Kozea/pygal/issues/358
pull/359/head
lyl107025 8 years ago
parent
commit
36cb49d668
  1. 4
      pygal/svg.py

4
pygal/svg.py

@ -489,4 +489,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