matplotlib.pyplotでたま~に日本語を使う必要があり,そのたびに あれ?fontpropertiesだっけ?propだっけ?property? となるので整理してみたら,凡例だけpropで,あとはfontpropertiesなのですね. (propertyなんて無いし…) ご参考まで. # -*- coding:utf-8 -*- import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties fp = FontProperties(fname=r'C:\WINDOWS\Fonts\YuGothic.ttf', size=14) plt.bar([1, 2], [5, 10], 0.25) plt.bar([1.25, 2.25], [4, 8], 0.25, color=

1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く