matplotlib绘图

深度学习 绘图
matplotlib使用plot_time_series绘图异常

plt.figure(figsize = (10,7))
plot_time_series(timesteps = X_test[-len(test_windows):],
values = test_labels[:,0],
format = "-",
label = 'test_data')
plot_time_series(timesteps = X_test[-len(test_windows):],
values = tf.reduce_mean(model_4_preds,axis = 1),
format = "- ",
label = 'N_Beats Model Preds')

img