Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 28, 2021 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/586dda547bbb58b90cef05f3073bbcd8 to your computer and use it in GitHub Desktop.
Save amankharwal/586dda547bbb58b90cef05f3073bbcd8 to your computer and use it in GitHub Desktop.
future = model.make_future_dataframe(df, periods=365, n_historic_predictions=len(df))
forecast = model.predict(future)
fig, ax = plt.subplots(figsize=(8,8))
model.plot(forecast, xlabel="Date", ylabel="VWAP", ax=ax)
ax.xaxis.label.set_size(28)
ax.yaxis.label.set_size(28)
ax.tick_params(axis='both', which='major', labelsize=24)
ax.set_title("Coal India Stocks", fontsize=28, fontweight="bold")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment