From 3869b348793253c6bb3e016cc459974573352b58 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Sun, 14 Jul 2024 22:17:21 -0500 Subject: [PATCH] move legend --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index ed630ced..0fb6713c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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(