0
繪圖列表我有那種(系列pred_upd)的列表:在Matplotlib
我試圖把它們放在一起在一塊土地上這樣做:
az = series.plot(figsize=(12,8), label='o')
ax = pred_upd.plot(style='r--', label='Dynamic Prediction');
ax.legend();
az.legend();
plt.plot()
plt.show()
我收到錯誤:
-> 2417 if isinstance(data, DataFrame):
2418 if x is not None:
2419 if com.is_integer(x) and not data.columns.holds_integer():
TypeError: isinstance() arg 2 must be a type or tuple of types
我做錯了什麼?