"""Trace les graphiques liés aux têtes dual-face.""" from pathlib import Path from lib.plots.minifig_head_faces import ( plot_dual_faces_characters, plot_dual_faces_timeline, plot_dual_faces_top_sets, ) BY_YEAR_PATH = Path("data/intermediate/minifig_head_faces_by_year.csv") BY_SET_PATH = Path("data/intermediate/minifig_head_faces_by_set.csv") BY_CHARACTER_PATH = Path("data/intermediate/minifig_head_faces_by_character.csv") TIMELINE_DESTINATION = Path("figures/step30/minifig_head_faces_timeline.png") TOP_SETS_DESTINATION = Path("figures/step30/minifig_head_faces_top_sets.png") CHARACTERS_DESTINATION = Path("figures/step30/minifig_head_faces_characters.png") def main() -> None: """Génère les visuels dual-face.""" plot_dual_faces_timeline(BY_YEAR_PATH, TIMELINE_DESTINATION) plot_dual_faces_top_sets(BY_SET_PATH, TOP_SETS_DESTINATION) plot_dual_faces_characters(BY_CHARACTER_PATH, CHARACTERS_DESTINATION) if __name__ == "__main__": main()