Skip to content

Instantly share code, notes, and snippets.

@h3ik0th
Created May 15, 2022 15:01
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 h3ik0th/184a202d104b998d074642861762d02a to your computer and use it in GitHub Desktop.
Save h3ik0th/184a202d104b998d074642861762d02a to your computer and use it in GitHub Desktop.
# plot the forecast
plt.figure(100, figsize=(20, 7))
sns.set(font_scale=1.3)
p = sns.lineplot(x = "time", y = "Q50", data = dfY, palette="coolwarm")
sns.lineplot(x = "time", y = "Actual", data = dfY, palette="coolwarm")
plt.legend(labels=["forecast median price Q50", "actual price"])
p.set_ylabel("price")
p.set_xlabel("")
p.set_title("energy price (test set)");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment