mergernet.visualization.plot.mag_class_distribution#
- mergernet.visualization.plot.mag_class_distribution(df: DataFrame, n_folds: int, n_bins: int, color_map: dict, label_map: dict | None = None, xlabel: str = 'r mag', ylabel: str = 'count', title: str | None = None, figsize: Tuple[float, float] = (12, 8), save: str | Path | None = None, legend_pos: str = 'best', legend_cols: int = 1)[source]#