start to implement texenv filter for pictures
This commit is contained in:
@@ -61,12 +61,15 @@ def radar_graph(labels = [], values = [], optimum = []):
|
||||
N = len(labels)
|
||||
theta = _radar_factory(N)
|
||||
max_val = max(max(optimum), max(values))
|
||||
|
||||
fig = plt.figure(figsize=(3,3))
|
||||
ax = fig.add_subplot(1, 1, 1, projection='radar')
|
||||
|
||||
ax.plot(theta, values, color='k')
|
||||
ax.plot(theta, optimum, color='r')
|
||||
ax.set_varlabels(labels)
|
||||
plt.show()
|
||||
return fig, ax
|
||||
#plt.show()
|
||||
#plt.savefig("radar.png", dpi=100)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user