Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,18 +194,30 @@ def generate_radar_plot(selected_rows_data: List[dict]) -> go.Figure:
|
|
| 194 |
))
|
| 195 |
|
| 196 |
fig.update_layout(
|
| 197 |
-
title=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
polar=dict(
|
| 199 |
-
radialaxis=dict(visible=True, range=[0, 100], tickfont=dict(size=
|
| 200 |
angularaxis=dict(
|
| 201 |
-
tickfont=dict(size=
|
| 202 |
rotation=30,
|
| 203 |
direction='clockwise'
|
| 204 |
),
|
| 205 |
),
|
| 206 |
-
legend=dict(
|
| 207 |
-
|
| 208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
width=800,
|
| 210 |
paper_bgcolor='white',
|
| 211 |
plot_bgcolor='white'
|
|
|
|
| 194 |
))
|
| 195 |
|
| 196 |
fig.update_layout(
|
| 197 |
+
title=dict(
|
| 198 |
+
text=f"CAP Radar Plot: {dataset_name}",
|
| 199 |
+
x=0.5,
|
| 200 |
+
xanchor='center',
|
| 201 |
+
font=dict(size=18)
|
| 202 |
+
),
|
| 203 |
polar=dict(
|
| 204 |
+
radialaxis=dict(visible=True, range=[0, 100], tickfont=dict(size=11)),
|
| 205 |
angularaxis=dict(
|
| 206 |
+
tickfont=dict(size=13),
|
| 207 |
rotation=30,
|
| 208 |
direction='clockwise'
|
| 209 |
),
|
| 210 |
),
|
| 211 |
+
legend=dict(
|
| 212 |
+
orientation='h',
|
| 213 |
+
yanchor='bottom',
|
| 214 |
+
y=-0.15,
|
| 215 |
+
xanchor='center',
|
| 216 |
+
x=0.5,
|
| 217 |
+
font=dict(size=12)
|
| 218 |
+
),
|
| 219 |
+
margin=dict(t=80, b=100, l=80, r=80),
|
| 220 |
+
height=650,
|
| 221 |
width=800,
|
| 222 |
paper_bgcolor='white',
|
| 223 |
plot_bgcolor='white'
|