1

Ajouter la heatmap log des catégories et le collage des pièces imprimées

This commit is contained in:
2025-12-03 17:49:46 +01:00
parent a6e89bf6ef
commit 241f48d48f
3 changed files with 43 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ from pathlib import Path
from lib.plots.part_categories import (
plot_part_categories_heatmap,
plot_part_categories_heatmap_log,
plot_structural_share_timeline,
plot_top_part_categories_area,
)
@@ -13,6 +14,7 @@ CATEGORIES_BY_YEAR_PATH = Path("data/intermediate/part_categories_by_year.csv")
CATEGORIES_GLOBAL_PATH = Path("data/intermediate/part_categories_global.csv")
AREA_DESTINATION = Path("figures/step29/top_part_categories_area.png")
HEATMAP_DESTINATION = Path("figures/step29/part_categories_heatmap.png")
HEATMAP_LOG_DESTINATION = Path("figures/step29/part_categories_heatmap_log.png")
STRUCTURAL_DESTINATION = Path("figures/step29/structural_share_timeline.png")
@@ -20,6 +22,7 @@ def main() -> None:
"""Génère les visuels de répartition par catégorie."""
plot_top_part_categories_area(CATEGORIES_BY_YEAR_PATH, CATEGORIES_GLOBAL_PATH, AREA_DESTINATION)
plot_part_categories_heatmap(CATEGORIES_BY_YEAR_PATH, HEATMAP_DESTINATION)
plot_part_categories_heatmap_log(CATEGORIES_BY_YEAR_PATH, HEATMAP_LOG_DESTINATION)
plot_structural_share_timeline(CATEGORIES_BY_YEAR_PATH, STRUCTURAL_DESTINATION)