arpes.plotting.stack_plot.stack_dispersion_plot#

arpes.plotting.stack_plot.stack_dispersion_plot(data, *, stack_axis='', ax=None, out='', max_stacks=100, scale_factor=0, mode='line', offset_correction='zero', shift=0, negate=False, figsize=(7.0, 7.0), title='', **kwargs)[source]#

Generates a stack plot with all the lines distinguished by offset (and color).

Parameters:
  • data (XrTypes) – ARPES data

  • stack_axis (str) – stack axis. e.g. “phi” , “eV”, …

  • ax (Axes) – matplotlib Axes object

  • out (str | Path) – Path for output figure

  • max_stacks (int) – maximum number of the stacking spectra

  • scale_factor (float) – scale factor

  • mode (Literal["liine", "fill_between", "hide_line", "scatter"]) – Draw mode

  • offset_correction (Literal["zero", "constant", "constant_right"] | None) – offset correction mode (default to “zero”)

  • shift (float) – shift of the plot along the horizontal direction

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

  • title (str, optional) – title of figure

  • negate (bool) – _description_

  • **kwargs – Passed to ax.plot / fill_between. Can set linewidth etc., here. (See _typing/MPLPlotKwagsBasic)