Skip to content
Snippets Groups Projects
Commit 6f230c1b authored by Britta Heymann's avatar Britta Heymann
Browse files

Increase font size in pie chart

parent 66f74bce
No related branches found
No related tags found
1 merge request!163Adapt evaluations for slides
Pipeline #
......@@ -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
......
  • Contributor

    SonarQube analysis reported no issues.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment