Skip to content

Commit

Permalink
add legend
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 15, 2024
1 parent b3a23f4 commit 156b152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def setup(app):
sizes = [lang[1] for lang in langs]
fig, ax = plt.subplots()
ax.pie(sizes, labels=labels, autopct='%1.1f%%')
plt.legend(loc='right')
plt.savefig("languages.svg", transparent=True)

app.add_domain(custom_domain(
Expand Down

0 comments on commit 156b152

Please sign in to comment.