add transparent/dpi args to save_figure, default to saving images with non-transparent background