minhaj-ripon commited on
Commit
d73999f
·
1 Parent(s): 8a89405

radar_chart.py updated

Browse files
Files changed (1) hide show
  1. radar_chart.py +4 -2
radar_chart.py CHANGED
@@ -166,17 +166,19 @@ def example_data():
166
 
167
 
168
  if __name__ == '__main__':
169
- N = 6
170
  theta = radar_factory(N, frame='polygon')
171
 
172
  # data = example_data()
173
  # spoke_labels = data.pop(0)
174
  spoke_labels = np.array(['neutral',
 
175
  'happy',
176
  'sad',
177
  'angry',
178
  'fearful',
179
- 'disgust'])
 
180
  fig, axs = plt.subplots(figsize=(8, 8), nrows=1, ncols=1,
181
  subplot_kw=dict(projection='radar'))
182
  # fig.subplots_adjust(wspace=0.25, hspace=0.20, top=0.85, bottom=0.05)
 
166
 
167
 
168
  if __name__ == '__main__':
169
+ N = 8
170
  theta = radar_factory(N, frame='polygon')
171
 
172
  # data = example_data()
173
  # spoke_labels = data.pop(0)
174
  spoke_labels = np.array(['neutral',
175
+ 'calm',
176
  'happy',
177
  'sad',
178
  'angry',
179
  'fearful',
180
+ 'disgust'
181
+ 'surprised'])
182
  fig, axs = plt.subplots(figsize=(8, 8), nrows=1, ncols=1,
183
  subplot_kw=dict(projection='radar'))
184
  # fig.subplots_adjust(wspace=0.25, hspace=0.20, top=0.85, bottom=0.05)