arpes.plotting.utils.savefig

arpes.plotting.utils.savefig(desired_path, dpi=400, data=None, save_data=None, paper=False, **kwargs)[source]

The PyARPES preferred figure saving routine.

Provides a number of conveniences over matplotlib’s savefig:

  1. Output is scoped per project and per day, which aids organization

  2. The dpi is set to a reasonable value for the year 2021.

  3. By omitting a file extension you will get high and low res formats in .png and .pdf which is useful for figure drafting in external software (Adobe Illustrator)

  4. Data and plot provenenace is tracked, which makes it easier to find your analysis after the fact if you have many many plots.