Skip to content

Commit 0602dfa

Browse files
committed
Fixed colors
1 parent fa8531b commit 0602dfa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/showcase/firefox.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def svg_parse(path):
4040
xmin, xmax = verts[:, 0].min()-1, verts[:, 0].max()+1
4141
ymin, ymax = verts[:, 1].min()-1, verts[:, 1].max()+1
4242

43-
fig = plt.figure(figsize=(5, 5), facecolor='0.85')
43+
fig = plt.figure(figsize=(5, 5))
4444
ax = fig.add_axes([0.0, 0.0, 1.0, 1.0], frameon=False, aspect=1)
4545

4646
# White outline (width = 6)
@@ -59,8 +59,5 @@ def svg_parse(path):
5959
ax.set_xticks([])
6060
ax.set_yticks([])
6161

62-
# Save figure
63-
plt.savefig('firefox.png', facecolor=fig.get_facecolor())
64-
6562
# Display
6663
plt.show()

0 commit comments

Comments
 (0)