Skip to content

Instantly share code, notes, and snippets.

@saivarunk
Created January 12, 2019 18:47
Show Gist options
  • Save saivarunk/0d5def3b91150a8a339faff7dee8aef1 to your computer and use it in GitHub Desktop.
Save saivarunk/0d5def3b91150a8a339faff7dee8aef1 to your computer and use it in GitHub Desktop.
trace_high = go.Scatter(
x=test_dates,
y=y_test,
name = "Original",
line = dict(color = '#17BECF'),
opacity = 0.8)
trace_low = go.Scatter(
x=test_dates,
y=pd.DataFrame(yhat)[0].values,
name = "Predicted",
line = dict(color = '#7F7F7F'),
opacity = 0.8)
data = [trace_high,trace_low]
fig = dict(data=data)
plotly.offline.iplot(fig)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment