Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smdsgn committed Dec 6, 2024
1 parent ffe6f88 commit f01c290
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/charts/AnnualConsoByDeterminantChart.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _get_series(self):
"Mixte": "mixte",
"Route": "route",
"Ferré": "ferre",
"Inconnu": "non_reseigne",
"Inconnu": "non_renseigne",
"Total": "total",
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class AnnualConsommation:
mixte: float
route: float
ferre: float
non_reseigne: float
non_renseigne: float
total: float
per_mille_of_area: float
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_by_land(
mixte=c.mixte / 10000,
route=c.route / 10000,
ferre=c.ferroviaire / 10000,
non_reseigne=c.inconnu / 10000,
non_renseigne=c.inconnu / 10000,
total=c.total / 10000,
per_mille_of_area=c.total / 10000 / land.area * 1000,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def map(consommation_progression: list[ConsommationCollection]):
"Mixte": "mixte",
"Route": "route",
"Ferré": "ferre",
"Inconnu": "non_reseigne",
"Inconnu": "non_renseigne",
"Total": "total",
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def map(consommation_progression: list[ConsommationCollection]):
"Mixte": "mixte",
"Route": "route",
"Ferré": "ferre",
"Inconnu": "non_reseigne",
"Inconnu": "non_renseigne",
"Total": "total",
}

Expand Down

0 comments on commit f01c290

Please sign in to comment.