diff --git a/docs/_ext/example.py b/docs/_ext/example.py index 7acb0a8..487dcd8 100644 --- a/docs/_ext/example.py +++ b/docs/_ext/example.py @@ -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'''\