From 9ddd388e0a443391b233389e424d6e53c1e73e23 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sun, 15 Jan 2023 12:19:40 +0100 Subject: [PATCH] =?UTF-8?q?V=C3=ADc=20desetinn=C3=BDch=20m=C3=ADst=20=3D?= =?UTF-8?q?=20v=C3=ADc=20profi=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poc.py b/poc.py index 0c831cb..fe87357 100755 --- a/poc.py +++ b/poc.py @@ -103,7 +103,7 @@ def plot(ts, kand): 'NEVOLILI': '#666666', 'NEZAPOČÍTANÉ': '#CCCCCC', } - plt.pie(x, labels=labels, colors=[colors[i] for i in order], autopct='%d %%') + plt.pie(x, labels=labels, colors=[colors[i] for i in order], autopct='%1.3f %%') plt.text(0, -1.2, label, ha='center') def visu_once():