prsctrl.data.plot.plot_many#
- plot_many(data_dirs: list[str], out_dir=None, fig_suptitle='', what=['dI-X_I', 'theta-corr'], n_cols=1, n_rows=None, direction: str = 'top-bottom', get_name: Callable[[PrsData], str] = None, sharex=True, sharey=True)[source]#
Plot multiple PrsData next to each other.
- Parameters:
data_dirs – Directories containing data to be plotted.
out_dir – Directory into which the plots are saved
fig_suptitle – Figure suptitle
what – For which quantities to create plots
n_cols – Number of columns to use in the plot
n_rows – Number of roms to use in the plot
direction – The data will be plotted top to bottom, left to right
get_name – A function that takes a PrsData object returns the name. If None, then data.metadat[“name”] is used
:param sharey :param sharex :return: