arpes.plotting.tof.plot_with_std#

arpes.plotting.tof.plot_with_std(data_set, name_to_plot='', ax=None, out='', figsize=(7, 5), **kwargs)[source]#

Makes a fill-between line plot with error bars from associated statistical errors.

Parameters:
  • data_set (xr.Dataset) – ARPES data that ‘mean_and_deviation’ is applied.

  • name_to_plot (str) – data name to plot, in most case “spectrum” is used.

  • ax – Matplotlib Axes object

  • out – (str | Path): Path name to output figure.

  • figsize (tuple[float, float]) – figure size

  • **kwargs – pass to subplots if figsize is set as tuple, other kwargs are pass to ax.fill_between/xr.DataArray.plot