1

Ajoute le genre des personnages et colore les graphiques

This commit is contained in:
2025-12-02 11:37:13 +01:00
parent 230b9db239
commit f5c1fa6333
12 changed files with 300 additions and 43 deletions

View File

@@ -14,9 +14,9 @@ def test_plot_minifigs_per_character(tmp_path: Path) -> None:
counts_path = tmp_path / "counts.csv"
destination = tmp_path / "figures" / "step22" / "minifig_characters.png"
counts_path.write_text(
"known_character,minifig_count\n"
"Owen Grady,2\n"
"Figurant,1\n"
"known_character,gender,minifig_count\n"
"Owen Grady,male,2\n"
"Figurant,unknown,1\n"
)
plot_minifigs_per_character(counts_path, destination)