FlyRanch / figurefirst

A layout-first approach to figure making
http://flyranch.github.io/figurefirst
MIT License
80 stars 15 forks source link

Fix write_svg method, open the file in binary mode #65

Closed BenCellini closed 9 months ago

BenCellini commented 9 months ago

Fix issue #51: https://github.com/FlyRanch/figurefirst/issues/51

Need to open the svg file in binary mode so use 'wb' instead of 'w'.

May also need to make this change in the extensions for version 1.0 & 0.x, but not tested yet.