KJ commited on
Commit ·
647cb7b
1
Parent(s): 5388204
move legend
Browse files
app.py
CHANGED
|
@@ -336,11 +336,11 @@ if not filtered_df.empty:
|
|
| 336 |
plot_bgcolor="white",
|
| 337 |
shapes=shapes,
|
| 338 |
legend=dict(
|
| 339 |
-
orientation="
|
| 340 |
yanchor="top",
|
| 341 |
-
y=
|
| 342 |
-
xanchor="
|
| 343 |
-
x=
|
| 344 |
title="",
|
| 345 |
traceorder="reversed" # Reverse order to show higher scores first
|
| 346 |
)
|
|
|
|
| 336 |
plot_bgcolor="white",
|
| 337 |
shapes=shapes,
|
| 338 |
legend=dict(
|
| 339 |
+
orientation="h", # Set legend orientation to horizontal
|
| 340 |
yanchor="top",
|
| 341 |
+
y=-0.3, # Position legend below the graph
|
| 342 |
+
xanchor="center",
|
| 343 |
+
x=0.5,
|
| 344 |
title="",
|
| 345 |
traceorder="reversed" # Reverse order to show higher scores first
|
| 346 |
)
|