scatrans.pl.save_all_figures#
- scatrans.pl.save_all_figures(figures, directory, *, dpi=300, fmt='pdf', bbox_inches='tight', close=True)[source]#
Batch-save a mapping of
name -> matplotlib Figure.Convenience wrapper around
figure_export_context()for notebooks that already hold figure objects.Example:
paths = scat.pl.save_all_figures( {"comet": fig1, "volcano": fig2}, "figures/out", )