I am trying to get the peaks value labels for a time series model. Since I'm a super noobie at Python, looking for some help.
I can run the following code and get a plot, but I'm trying to add value labels at the peaks. It seems like it should be simple, but after searching for hours I can't figure it out.
pred_uc = results.get_forecast(steps=100)
pred_ci = pred_uc.conf_int()
ax = y.plot(label='observed', figsize=(14, 7))
pred_uc.predicted_mean.plot(ax=ax, label='Forecast')
ax.fill_between(pred_ci.index,
pred_ci.iloc[:, 0],
pred_ci.iloc[:, 1], color='k', alpha=.25)
ax.set_xlabel('Date')
ax.set_ylabel('Furniture Sales')
plt.legend()
plt.show()
