save_figure

petrophys.visualization.save_figure

save_figure(figure, filename, dpi=EXPORT_DPI, **kwargs)[source]

Save a figure on white at 150 dpi, with consistent tight margins.

The filename extension selects the format (PNG by default; PDF and SVG are supported). Explicit keyword arguments override the export defaults.