Skip to content

Commit 5e89e2f

Browse files
committed
plot feature updated
1 parent 4cf1b38 commit 5e89e2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ def CryptoForecast(SelectCrypto):
133133
y="Close",
134134
size="Volume",
135135
title=SelectCrypto,
136-
labels={"Date": "Date", "Close": "Closing Price"},
136+
labels={"Date": "Date", "Close": "Closing Price in USD"},
137137
template="plotly_dark",
138138
#height = 500,
139-
).update_traces(mode="lines+markers", marker=dict(color="green", opacity=0.4))
139+
).update_traces(name="Price in USD", mode="lines+markers", marker=dict(color="green", opacity=0.4))
140140

141141
fig_forecast.add_trace(
142142
go.Scatter(
@@ -151,7 +151,7 @@ def CryptoForecast(SelectCrypto):
151151
x=plot_data["Date"],
152152
y=plot_data["yhat_upper"],
153153
mode="lines",
154-
line=dict(dash="dot", color="1F77B4"),
154+
line=dict(dash="dot", color="dodgerblue"),
155155
name="Upper Band",
156156
)
157157
)

0 commit comments

Comments
 (0)