Matplotlib如何添加线到股票价格图表

时间:2016-02-27 03:16:08

标签: pandas matplotlib charts

我有收盘价格股票图表,现在我想在特定日期添加一条线,2015-12-01,请告诉我怎么做。这是我现有的代码。对于我使用Pandas的价格

this.CustomCONSOLE.SetMemory(566697660U, [HERE IS WERE I NEED TO PUT THE CONTENTS OF THE TEXT FILE ON MY WEB SERVER]);

1 个答案:

答案 0 :(得分:-1)

只需

l = plt.axvline(date(2015,2,16)linewidth = 1)