reab5555 commited on
Commit
a16ad1e
·
verified ·
1 Parent(s): 861241a

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +3 -10
visualization.py CHANGED
@@ -58,22 +58,15 @@ def create_charts(results):
58
  fig = go.Figure(data=go.Scatterpolar(
59
  r=values,
60
  theta=labels,
61
- fill='toself',
62
- marker=dict(color='black'), # Set the color to black
63
- line=dict(color='black') # Set the line color to black
64
  ))
65
-
66
  fig.update_layout(
67
  polar=dict(
68
- radialaxis=dict(visible=True, range=[0, 10]),
69
- angularaxis=dict(linecolor='black', gridcolor='black'), # Set angular axis line color to black
70
- bgcolor='white' # Ensure background is white for contrast
71
  ),
72
  showlegend=False,
73
- title=f'{speaker_id}: Attachment Dimensions',
74
- font=dict(color='black') # Set the font color to black
75
  )
76
-
77
  charts[speaker_id]['dimensions'] = fig
78
 
79
 
 
58
  fig = go.Figure(data=go.Scatterpolar(
59
  r=values,
60
  theta=labels,
61
+ fill='toself'
 
 
62
  ))
 
63
  fig.update_layout(
64
  polar=dict(
65
+ radialaxis=dict(visible=True, range=[0, 10])
 
 
66
  ),
67
  showlegend=False,
68
+ title=f'{speaker_id}: Attachment Dimensions'
 
69
  )
 
70
  charts[speaker_id]['dimensions'] = fig
71
 
72