- matplotlib.pyplotでのPie chartの書き方:
pie-chart.ipynb
fig, ax = plt.subplots(1, 1, figsize (6, 8))
wedges, texts = ax.pie(list-like, startangle = 90, counterclock=False, labeldistance = 0.8, autopct = None, labels = list-like)
ax.legend(wedges, list-like, loc = "upper right", bbox_to_anchor = (0.90, 0.5, 0.5, .100))
ax.title.set_text("XXXXX")
plt.savefig("XXXYYYZZZ.pdf", bbox_inches = "tight")
plt.show ()