You've already forked etude_lego_jurassic_world
Ajoute l'analyse des pièces rares
This commit is contained in:
18
scripts/plot_rare_parts.py
Normal file
18
scripts/plot_rare_parts.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Trace le top des sets avec pièces exclusives."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from lib.plots.rare_parts import plot_rare_parts_per_set
|
||||
|
||||
|
||||
RARE_PARTS_BY_SET_PATH = Path("data/intermediate/rare_parts_by_set.csv")
|
||||
DESTINATION_PATH = Path("figures/step27/rare_parts_per_set.png")
|
||||
|
||||
|
||||
def main() -> None:
|
||||
"""Génère le visuel des pièces rares par set."""
|
||||
plot_rare_parts_per_set(RARE_PARTS_BY_SET_PATH, DESTINATION_PATH)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user