使用iPlot(asfigure = true)时,Cufflinks QuantFig()烛台图中的子图的高度
我的问题是,我在Cufflinks QuantFig()中使用IPLOT(ASFIGURE = TRUE)的技术分析研究的所有共汇率都是相同的高度。我想增加顶部烛台图表的高度,并降低基础指标RSI,MACD和音量以及整个指示器范围的高度。我想将编辑功能保留在图表的右上角。有人有想法吗?
import cufflinks as cf
qf = cf.QuantFig(df_ticker, kind='candlestick', legend='right', name=ticker)
# Technical Analysis Studies for example:
qf.add_rsi(periods=20, color='java')
qf.add_macd(fast_period=12, slow_period=26, signal_period=9)
qf.add_volume()
# then plot by:
self.fig = self.qf.iplot(asFigure=True, dimensions=(1000, 600), up_color='green', down_color='red')
my problem is that all sublots of my technical analysis study in cufflinks QuantFig() are the same height when using iplot(asFigure=True). I want to increase the height of the top candlestick chart and decrease the height of the underlying indicators RSI, MACD and Volume and the entire indicator range. I would like to keep the edit functions in the upper right corner of the chart. Does anyone have any ideas?
import cufflinks as cf
qf = cf.QuantFig(df_ticker, kind='candlestick', legend='right', name=ticker)
# Technical Analysis Studies for example:
qf.add_rsi(periods=20, color='java')
qf.add_macd(fast_period=12, slow_period=26, signal_period=9)
qf.add_volume()
# then plot by:
self.fig = self.qf.iplot(asFigure=True, dimensions=(1000, 600), up_color='green', down_color='red')
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论