You've already forked etude_lego_jurassic_world
Ajoute les agrégats et visualisations globales des couleurs de têtes
This commit is contained in:
18
scripts/plot_global_minifig_heads.py
Normal file
18
scripts/plot_global_minifig_heads.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""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")
|
||||
DESTINATION_PATH = Path("figures/step17/global_minifig_heads_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)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user