Skip to content

Commit

Permalink
move legend
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 15, 2024
1 parent db9ee53 commit 3869b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def setup(app):
sizes = [lang[1] for lang in langs]
fig, ax = plt.subplots()
ax.pie(sizes, labels=labels, autopct='%1.1f%%', labeldistance=None)
plt.legend(title='Languages', loc='center right', bbox_to_anchor=(1, 0, 0.5, 1))
plt.legend(title='Languages', loc='center right', bbox_to_anchor=(0.75, 0, 0.5, 1))
plt.savefig("languages.svg", transparent=True)

app.add_domain(custom_domain(
Expand Down

0 comments on commit 3869b34

Please sign in to comment.