【发布时间】:2016-11-23 20:23:39
【问题描述】:
知道为什么我下面的脚本将标题放置在远离图形/子图的地方吗?是否可以指定标题的字体大小?
df = pandas.read_csv('data.csv', delimiter=',',
index_col=0,
parse_dates=[0], dayfirst=True,
names=['Date','1','2','3','4', '5'])
df.plot(subplots=True, marker='.',markersize=8, title ="Graph", fontsize = 10, color=['r','b','b','b', 'b'], figsize=(8, 18))
plt.savefig('capture.png')
非常感谢!
【问题讨论】:
-
你看过here吗?
标签: python pandas matplotlib