Skip to content

Commit

Permalink
docs: remove white background from example layout plots
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekundert committed Sep 13, 2023
1 parent c26d0cc commit 5ba852b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_ext/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def run(self):
if 'color' in self.options:
meta.style = self.options['color']
fig = wellmap.show_df(df, params, style=meta.style)
fig.savefig(svg_abs_path, bbox_inches='tight')
fig.savefig(svg_abs_path, bbox_inches='tight', transparent=True)
plt.close(fig)

example_rst += f'''\
Expand Down

0 comments on commit 5ba852b

Please sign in to comment.