,
'绯红女巫': [3, 3, 3, 3, 7, 3],
'黑寡妇': [5, 3, 2, 3, 3, 7],
'鹰眼': [5, 3, 3, 2, 2, 7],
}
生成战力图...# 打散为一维数组
axes = axes.ravel()
# 获取所有支持的颜色
colors = list(mcolors.TABLEAU_COLORS)
# 循环绘制...data_list.items():
data = np.append(np.array(data), data[0])
ax = axes[i]
# 绘制线条...# 循环绘制
i = 0
for name, data in data_list.items():
data = np.append(np.array(data), data[0])...ax = axes[i]
# 绘制线条
ax.plot(angles, data, color=colors[i])
# 填充颜色
ax.fill(angles