Spaces:
Running
Running
QuantumLearner
commited on
Commit
•
65bae9b
1
Parent(s):
b1297bc
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def plot_price_with_cones(data, bootstrap_percentiles, days, thresholds, bootstr
|
|
84 |
fig = go.Figure()
|
85 |
|
86 |
# Plot historical prices
|
87 |
-
fig.add_trace(go.Scatter(x=data.index, y=data, mode='lines', name='Historical Prices', line=dict(color='
|
88 |
|
89 |
# Plot bootstrapping simulation cone
|
90 |
fig.add_trace(go.Scatter(x=future_dates, y=bootstrap_percentiles[2], mode='lines', name='Bootstrap Median', line=dict(color='red', dash='dash')))
|
|
|
84 |
fig = go.Figure()
|
85 |
|
86 |
# Plot historical prices
|
87 |
+
fig.add_trace(go.Scatter(x=data.index, y=data, mode='lines', name='Historical Prices', line=dict(color='white')))
|
88 |
|
89 |
# Plot bootstrapping simulation cone
|
90 |
fig.add_trace(go.Scatter(x=future_dates, y=bootstrap_percentiles[2], mode='lines', name='Bootstrap Median', line=dict(color='red', dash='dash')))
|