Commit 6f230c1b authored by Britta Heymann's avatar Britta Heymann
Browse files

Increase font size in pie chart

parent 66f74bce
Pipeline #17047 passed with stages
in 4 minutes and 37 seconds
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment