patches, texts, autotexts = ax.pie(frac, colors=colors, labels=labels, autopct='%1.1f%%') texts[0].set_fontsize(4) plt.show()