You've already forked etude_lego_jurassic_world
Ajoute le genre des personnages et colore les graphiques
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user