AppleSwing commited on
Commit
6eeb754
·
verified ·
1 Parent(s): be8114c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -6
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=f"CAP Radar Plot: {dataset_name}",
 
 
 
 
 
198
  polar=dict(
199
- radialaxis=dict(visible=True, range=[0, 100], tickfont=dict(size=10)),
200
  angularaxis=dict(
201
- tickfont=dict(size=12),
202
  rotation=30,
203
  direction='clockwise'
204
  ),
205
  ),
206
- legend=dict(orientation='h', yanchor='bottom', y=-0.2, xanchor='center', x=0.5),
207
- margin=dict(t=100, b=120, l=100, r=600),
208
- height=700,
 
 
 
 
 
 
 
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'