如何绘制y_pred_org的移动平均值并绘制它?我尝试过这样做,但收到了一个错误AttributeError:“列表”对象没有属性“滚动”,我确信这是很小的东西,但我对此并不陌生。# Visualize the prediction with rolling averageplt.figure()
['y_pred_org'].rolling(window=50).mean
我试图在matplotlib的函数中调用一个变量,但它给了我一个错误。也许这是不可能的。some number)ax1.set_title('blah N = 241', 'standard deviation =',sigma)AttributeError: 'str' object has no attribute 'pop<
在使用matplotlib时,我一直收到error in sys.exitfunc。/backends/backend_gtk3.py", line 427, in destroyAttributeError: FigureManagerGTK3Agg/backends/backend_gtk3.py", line 427, in destroyAttributeEr