"""Visualisations des couleurs de tĂȘtes de minifigs.""" from pathlib import Path from lib.plots.minifig_heads import plot_global_shares, plot_shares_by_year HEADS_BY_YEAR_PATH = Path("data/intermediate/minifig_heads_by_year.csv") MILESTONES_PATH = Path("config/milestones.csv") SHARES_DESTINATION = Path("figures/step16/minifig_heads_shares.png") GLOBAL_DESTINATION = Path("figures/step16/minifig_heads_global.png") def main() -> None: """Construit les visuels des couleurs de tĂȘtes de minifigs.""" plot_shares_by_year(HEADS_BY_YEAR_PATH, SHARES_DESTINATION, milestones_path=MILESTONES_PATH) plot_global_shares(HEADS_BY_YEAR_PATH, GLOBAL_DESTINATION) if __name__ == "__main__": main()