perturbopy.postproc.utils.plot_tools.set_energy_window

perturbopy.postproc.utils.plot_tools.set_energy_window(ax, energy_window)

” Method to set the energy window (y-axis) of the plot

Parameters:
  • ax (matplotlib.axes.Axes) – Axis with plotted dispersion

  • energy_window (tuple) – Tuple with the lower and upper bound of the chosen energy window

Returns:

ax – Axis with the plotted dispersion and adjusted energy window

Return type:

matplotlib.axes.Axes