From 6f230c1b78e85ec49a4411a03c4e2a0b0145502e Mon Sep 17 00:00:00 2001
From: Britta Heymann <britta_hey@web.de>
Date: Wed, 4 Oct 2017 15:37:37 +0200
Subject: [PATCH] Increase font size in pie chart

---
 toolkit/reportSummary/privateMessageAnalysis.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/toolkit/reportSummary/privateMessageAnalysis.py b/toolkit/reportSummary/privateMessageAnalysis.py
index e327f502..b46c0e79 100644
--- a/toolkit/reportSummary/privateMessageAnalysis.py
+++ b/toolkit/reportSummary/privateMessageAnalysis.py
@@ -42,7 +42,9 @@ def main(analysisFileName, graphicFileName):
 
     # Create pie chart.
     fig1, ax1 = plt.subplots()
-    ax1.pie(values, labels=labels, shadow=True, explode=(0.1, 0), labeldistance=0.3)
+    _, texts = ax1.pie(values, labels=labels, shadow=True, explode=(0.1, 0), labeldistance=0.3)
+    for text in texts:
+        text.set_fontsize(12)
     ax1.axis('equal')  # Equal aspect ratio ensures that pie is drawn as a circle.
 
     #Add total sum
-- 
GitLab