1

Ajoute les visualisations temporelles des palettes

This commit is contained in:
2025-12-01 22:44:05 +01:00
parent fb2ef5f16f
commit 640c6333f0
4 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
"""Génère les visuels temporels des palettes de couleurs."""
from pathlib import Path
from lib.plots.colors_timeline import plot_colors_heatmap, plot_translucent_share
TIMELINE_PATH = Path("data/intermediate/colors_timeline.csv")
MATRIX_PATH = Path("data/intermediate/colors_year_color_matrix.csv")
TRANSLUCENT_DESTINATION = Path("figures/step14/colors_translucent_share.png")
HEATMAP_DESTINATION = Path("figures/step14/colors_heatmap.png")
def main() -> None:
"""Construit les visuels d'évolution annuelle des palettes."""
plot_translucent_share(TIMELINE_PATH, TRANSLUCENT_DESTINATION)
plot_colors_heatmap(MATRIX_PATH, HEATMAP_DESTINATION)
if __name__ == "__main__":
main()