在dokumentation中找不到任何内容: https://pypi.org/project/mplfinance/
需要以不同颜色绘制线条,只需使用以下颜色代码:
'b','r','c','k','g'
再多一些颜色就好了-在文档中找不到列表
最好是有人能指定rgb代码
情节:
mpf.plot(df_history, show_nontrading=True, figratio=(10,7), figscale=2, datetime_format='%d.%m.%y', #figscale=2
xrotation=90, tight_layout=False, xlim=(xmin, xmax), ylim=(chart_unten, chart_oben),
alines=dict(alines=seq_of_points, colors=seq_of_colors, linestyle='-', linewidths=1),
type='candle', savefig=bildpfad, addplot=apdict, style=s, title=chart_title,
update_width_config=dict(candle_linewidth=0.5))
根据官方参考中的示例,我编写了使用Seaborn颜色定制Seaborn的代码。可以在这里找到official reference,由于支持十六进制格式,因此可以使用各种方法
试试这个:
就你而言:
相关问题 更多 >
编程相关推荐