我想在不使用 Tkinter 的情况下使用 mpl finance 图形界面添加一个按钮,因为我失去了一些使用 Tkinter 的功能。
怎么做?应该通过 Matplotlib 来完成吗?
请写一个代码示例,我在互联网上没有找到
我用“mplfinance”标签查看了 StackoverFlow 上的所有问题
我用这个方法创建图形:
fig, axlist = mpf.plot(df,type="candle",style="yahoo",main_panel=0,
addplot= indicators1,
volume =True, volume_panel= int(variable_panel_volume),
panel_ratios=list_panel_ratios,returnfig=True,ylim=(min_value,max_value), title=str(title) )