日々精進

新しく学んだことを書き留めていきます

2017-01-14から1日間の記事一覧

複数のグラフをfor loopで描画する

AI

以下のように、plotを実行した後毎回showを実行する。 for y_ax in ys: ts = Series(y_ax,index=x_ax) ts.plot(kind='bar', figsize=(15,5)) plt.show() 参考: stackoverflow.com