I checked your code, and plt.legend() creates the legend how you want it; perhaps set loc="lower left" so that it does not overlap with the corresponding pieces of the pie.
For me, the lines are displayed correctly, except for non-standard characters, which can lead to the fact that the problem will not be displayed to you at all. Only the largest slice and the "Growth" do not contain special characters. Perhaps try resizing the shapes as they can be pushed out of the canvas. Please refer to how to write accents with matplotlib and try again with the correct lines.
Interest is not displayed because you did not set it to show. Please refer to the example you posted as you missed autopct='%1.1f%%' , which will display percentages. In this special case, I would prefer not to make up the percentages, since they will overlap like marks on the border, as some slices are too small. Perhaps add this information to the legend.
Putting it all together (besides special characters - I had some problems with TeX activation), try the following code:
# -*- coding: UTF-8 -*- import matplotlib.pyplot as plt

Faultier
source share