LoginSignup
0
1

More than 3 years have passed since last update.

Pie chart の初期設定

Last updated at Posted at 2019-10-10
  1. 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 ()
0
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1