Traceback (most recent call last):
File "E:\vnpy-master\VNPY\VNPY\VNPY\VNTrader.py", line 105, in <module>
main()
File "E:\vnpy-master\VNPY\VNPY\VNPY\VNTrader.py", line 68, in main
globalvar.ui.setupUi(window)
File "E:\vnpy-master\VNPY\VNPY\VNPY\mainwindow_ui.py", line 2093, in setupUi
self.wkline = pg.GraphicsWindow()
^^^^^^^^^^^^^^^^^
AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow'. Did you mean: 'GraphicsView'?
新版的 pyqtgraph 已经没有 GraphicsWindow 这个了 请问这个具体如何设置 新人不会啊 ? 换成 GraphicsView 后又出现.
Traceback (most recent call last):
File "E:\vnpy-master\VNPY\VNPY\VNPY\VNTrader.py", line 105, in <module>
main()
File "E:\vnpy-master\VNPY\VNPY\VNPY\VNTrader.py", line 68, in main
globalvar.ui.setupUi(window)
File "E:\vnpy-master\VNPY\VNPY\VNPY\mainwindow_ui.py", line 2095, in setupUi
self.plt_kline = self.wkline.addPlot(1, 1, title="K线图")
^^^^^^^^^^^^^^^^^^^
AttributeError: 'GraphicsView' object has no attribute 'addPlot'
这个到底怎么弄啊?
|