prsctrl.data.plot.replot_in_place#

replot_in_place(data_paths: list[Path | str] | Path | str | None = None, base_dir: Path | str | None = None, **plot_spectrum_kw) → list[tuple[Path, str | Exception]][source]#

Load the data from the directories and replot the default plots in place.

You can either specify the data paths directly or provide a base_dir to search for data.

Parameters:
  • data_paths – (List of) directories to load data from.

  • base_dir – Base directory in which all subdirectories containing data will be loaded.

  • plot_spectrum_kw – Keyword arguments passed to plot_data().

Returns:

List of processed data directories with a status message or exception.