From 6b97f224fbb36dba7d5875e2771a12e1f14ef795 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 30 Nov 2021 22:28:46 +0100 Subject: [PATCH] add spaces between the bars of the histogram --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ea34e23..5debebe 100644 --- a/main.py +++ b/main.py @@ -829,7 +829,7 @@ class GesMag: histogramme.create_rectangle(ecart, 180, ecart + 15, hauteur - 20 if hauteur < 180 else 178, fill=couleurs.pop()) # Affichage du montant histogramme.create_text(ecart, 190, anchor='w', text=donnees[date], font=("Arial", 8)) - ecart += 30 + ecart += 33 histogramme = Canvas(frameSuivi, width=270, height=200) histogramme.grid()