Kozea / pygal

PYthon svg GrAph plotting Library
https://www.pygal.org
GNU Lesser General Public License v3.0
2.67k stars 413 forks source link

can't multiply sequence by non-int of type 'float' when using label_font_size in custom style #527

Open createcandle opened 2 years ago

createcandle commented 2 years ago

Applying this custom style:

                        custom_style = Style(
                          background='#fff',
                          label_font_size='16',
                          value_label_font_size='16')

causes an error:

can't multiply sequence by non-int of type 'float'

This seems to be caused by the label_font_size option, since removing it makes everything work again.