You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "E:\Workspace\Python\VNPY-master\examples\candle_chart\tick\item\main.py", line 42, in <module>
plotItem.setAxisItems(axisItems={'bottom':pg.AxisItem('bottom')})
File "E:\home\.conda\envs\Python310\lib\site-packages\pyqtgraph\graphicsItems\PlotItem\PlotItem.py", line 312, in setAxisItems
oldAxis.scene().removeItem(oldAxis)
AttributeError: 'NoneType' object has no attribute 'removeItem'
The text was updated successfully, but these errors were encountered:
This happens when the QGraphicsScene isn't set. Often this is the case when trying to modify widgets too early, like before calling QApplication.exec() or before calling QWidget.show().
here is my code:
when I run this code, it shows the error as below
The text was updated successfully, but these errors were encountered: