We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bbd442 commit b7b8a15Copy full SHA for b7b8a15
1 file changed
tools/make_icons.py
@@ -43,7 +43,7 @@ def save_icon(fig, dest_dir, name, add_black_fg_color):
43
svg_bytes_io = BytesIO()
44
fig.savefig(svg_bytes_io, format='svg')
45
svg = svg_bytes_io.getvalue()
46
- before, sep, after =svg.rpartition(b'\nz\n"')
+ before, sep, after = svg.rpartition(b'\nz\n"')
47
svg = before + sep + b' style="fill:black;"' + after
48
(dest_dir / (name + '.svg')).write_bytes(svg)
49
else:
0 commit comments