Plot Curves

Date published: 21/09/23

src.plot_curves.main(config: DictConfig) None[source]

The main entry point for the plotting pipeline.

Args:
config (DictConfig):

The pipeline configuration.

src.plot_curves.plot_curves(species_code: str, index_df: DataFrame, data_dir: str, infile: str, x: str, y: str, hue: str, col: str, as_cat: list[str] = [], tracking_uri: str = None, enable_experiment_tracking: bool = False) None[source]

Plot the growth curves.

Args:
species_code (str):

The shark species code.

index_df (pd.DataFrame):

The index dataframe containing metadata.

data_dir (str):

The data directory.

infile (str):

The input datafile.

x (str):

The x column.

y (str):

The y column.

hue (str):

The grouping column.

col (str):

The categorical column.

as_cat (list[str], optional):

Cast the column as a category. Defaults to [].

tracking_uri (str, optional):

The experiment tracking URI. Defaults to None.

enable_experiment_tracking (bool, optional):

Enable experiment tracking. Defaults to False.