From 1abd1327ef010db2df448217689e7f7be3936ced Mon Sep 17 00:00:00 2001 From: Faraphel Date: Thu, 25 Jan 2024 19:16:40 +0100 Subject: [PATCH] fixed usage statistics axes labels --- tools/statistics/analyse/usage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/statistics/analyse/usage.py b/tools/statistics/analyse/usage.py index c001885..c8f224d 100644 --- a/tools/statistics/analyse/usage.py +++ b/tools/statistics/analyse/usage.py @@ -20,5 +20,7 @@ def analyse(datas: list[dict]) -> plt.Figure: axes.bar(x, y, color=ressource.usage.colors, edgecolor='black') axes.set_xticks(x) axes.set_xticklabels(ressource.usage.labels) + axes.set_xlabel("Usage") + axes.set_ylabel("Quantité") return figure