diff --git a/toolkit/reportSummary/privateMessageAnalysis.py b/toolkit/reportSummary/privateMessageAnalysis.py index e327f50248cf1f8a909a67154fb055819c5f39ee..b46c0e79380a5c5a193dc6be32566a5fcdf1a33c 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