使用iPlot(asfigure = true)时,Cufflinks QuantFig()烛台图中的子图的高度

发布于 2025-02-07 08:43:39 字数 660 浏览 0 评论 0原文

我的问题是,我在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')

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文