matplotlib / mplfinance 是否可以为绘图添加标题?

时间:2021-01-27 09:18:48

标签: python matplotlib mplfinance

我与 mplfinance 做了一个情节: enter image description here

是否可以为 mplfinance 绘图添加标题(如 plt.title(stock)? 或者是否可以使用 matplotlib 制作这样的图表?

apdict = [mpf.make_addplot(df[['ema34High','ema34Low']],color='y',linestyle='dashdot'),
      mpf.make_addplot(df[['SMA10High','SMA8Low']],color='b',linestyle='dashdot'),
     ]
mpf.plot(df,volume=True,addplot=apdict,style='starsandstripes',datetime_format=' %A, %d- 
%m',xrotation=45)enter code here

0 个答案:

没有答案
相关问题