Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def plot_results(data, params, title_suffix):
|
|
| 124 |
title_text=f'{title_suffix} 3-Way Moving Average Crossover',
|
| 125 |
xaxis_title='Date',
|
| 126 |
yaxis_title='Price',
|
| 127 |
-
legend=dict(orientation="h", yanchor="bottom", y=1.
|
| 128 |
margin=dict(t=30, b=30), # Adjust top and bottom margins for spacing
|
| 129 |
font=dict(size=12),
|
| 130 |
showlegend=True
|
|
|
|
| 124 |
title_text=f'{title_suffix} 3-Way Moving Average Crossover',
|
| 125 |
xaxis_title='Date',
|
| 126 |
yaxis_title='Price',
|
| 127 |
+
legend=dict(orientation="h", yanchor="bottom", y=1.15, xanchor="center", x=0.5),
|
| 128 |
margin=dict(t=30, b=30), # Adjust top and bottom margins for spacing
|
| 129 |
font=dict(size=12),
|
| 130 |
showlegend=True
|