vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 2
声望: 0

Traceback (most recent call last):
File "D:/vnpy/vnpy-vnpy2/examples/candle_chart/run.py", line 21, in <module>
widget.add_plot("volume", maximum_height=200)
File "D:\vnpy\vnpy-vnpy2\vnpy\chart\widget.py", line 71, in add_plot
plot = pg.PlotItem(axisItems={'bottom': self._x_axis})
File "D:\vnpy\vnpy-vnpy2\venv\lib\site-packages\pyqtgraph\graphicsItems\PlotItem\PlotItem.py", line 158, in init
self.setAxisItems(axisItems)
File "D:\vnpy\vnpy-vnpy2\venv\lib\site-packages\pyqtgraph\graphicsItems\PlotItem\PlotItem.py", line 325, in setAxisItems
if axis != self.axes[k]["item"]:
KeyError: 'bottom'

Member
avatar
加入于:
帖子: 959
声望: 51

可参考此帖

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3