T.plot绘图问题
问题
平台在通过T.plot绘制时,绘制的散点图无法显示在图中,上面链接直接克隆,运行后,买卖点无法显示就是这个问题。
解答
在 T.plot 里面加个参数试一试:marker_enabled=True
T.plot(df[select], options={'chart': {'title': sid, 'height': 800}, 'series': [{},{'type': 'line','yAxis':0},{'type': 'scatter','yAxis':0,'color':'green'},{'type': 'scatter','yAxis':0,'color':'red'}]},stock=True, candlestick=True, marker_enabled=True)