22 lines
759 B
Python
22 lines
759 B
Python
"""Répartition annuelle des couleurs de têtes (catalogue complet)."""
|
|
|
|
from pathlib import Path
|
|
|
|
from lib.plots.global_minifig_heads import plot_global_head_shares
|
|
|
|
|
|
HEADS_PATH = Path("data/intermediate/global_minifig_heads_by_year.csv")
|
|
HEADS_PRINTED_PATH = Path("data/intermediate/global_minifig_heads_printed_by_year.csv")
|
|
DESTINATION_PATH = Path("figures/step17/global_minifig_heads_shares.png")
|
|
DESTINATION_PRINTED_PATH = Path("figures/step17/global_minifig_heads_printed_shares.png")
|
|
|
|
|
|
def main() -> None:
|
|
"""Construit la heatmap stackée des parts de couleurs de têtes."""
|
|
plot_global_head_shares(HEADS_PATH, DESTINATION_PATH)
|
|
plot_global_head_shares(HEADS_PRINTED_PATH, DESTINATION_PRINTED_PATH)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|