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():