radar plot
This commit is contained in:
parent
312de64750
commit
f8899cfedd
@ -61,7 +61,7 @@ def radar_graph(labels = [], values = [], optimum = []):
|
|||||||
N = len(labels)
|
N = len(labels)
|
||||||
theta = _radar_factory(N)
|
theta = _radar_factory(N)
|
||||||
max_val = max(max(optimum), max(values))
|
max_val = max(max(optimum), max(values))
|
||||||
fig = plt.figure()
|
fig = plt.figure(figsize=(3,3))
|
||||||
ax = fig.add_subplot(1, 1, 1, projection='radar')
|
ax = fig.add_subplot(1, 1, 1, projection='radar')
|
||||||
ax.plot(theta, values, color='k')
|
ax.plot(theta, values, color='k')
|
||||||
ax.plot(theta, optimum, color='r')
|
ax.plot(theta, optimum, color='r')
|
||||||
|
Loading…
Reference in New Issue
Block a user