devctrl.data.spectrum.plot.plot_spectrum#

plot_spectrum(data, what: str | list[str], xkey='E', columns=None, fig=None, ax=None, xlabel=True, ylabel=True, title=None, mode=None, scale=None, normalize=False, subplot_kw=None, transforms=None, Es=None, wavelengths=None, top_xax: bool = True, scatter_in_wl_colors=False, plot_kws: dict | list[dict] | None = None, **plot_kw)[source]#

Plotter for generic spectrum data.

Parameters:

scatter_in_wl_colors – Scatter in colors corresponding to the wavelength instead of drawing a line