Skip to content

Commit

Permalink
transparent background
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Jun 3, 2024
1 parent a0e3c19 commit 1ac555d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def plot_to_img(fig):
buf = BytesIO()
fig.savefig(buf, format="svg")
fig.savefig(buf, format="svg", transparent=True)
svg_data = buf.getvalue().decode("utf-8")
buf.close()
doc.asis(svg_data)
Expand Down

0 comments on commit 1ac555d

Please sign in to comment.