Skip to content

Commit

Permalink
fix legend title
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 13, 2024
1 parent f2bf1dd commit 00740b5
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 @@ -229,7 +229,7 @@ def setup(app):
sizes = [float(size) / count for size, count in zip(sizes, counts)]
_, ax = plt.subplots()
ax.pie(sizes, labels=labels, autopct='%1.1f%%', labeldistance=None, pctdistance=0.85)
plt.legend(title='Languages (Normalized)', loc='right', bbox_to_anchor=(1,0.5), bbox_transform=plt.gcf().transFigure)
plt.legend(title='Languages', loc='right', bbox_to_anchor=(1,0.5), bbox_transform=plt.gcf().transFigure)
plt.savefig('languages-normalized.svg', transparent=True, bbox_inches='tight')
except Exception:
if 'GITHUB_ACTION' in environ:
Expand Down

0 comments on commit 00740b5

Please sign in to comment.