#e19.1DrawRadar
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
matplotlib.rcParams['font.family']='SimHei'
matplotlib.rcParams['font.sans-serif'] = ['SimHei']
labels = np.array(['第一周', '第二周', '第三周', '第四周', '第五周'])
nAttr =
data = np.array([,,,,]) #数据值
angles = np.linspace(, *np.pi, nAttr, endpoint=False)
data = np.concatenate((data, [data[]]))
angles = np.concatenate((angles, [angles[]]))
fig = plt.figure(facecolor="white")
plt.subplot(, polar=True)
plt.plot(angles,data,'bo-',color ='g',linewidth=)
plt.fill(angles,data,facecolor='g',alpha=0.25)
plt.thetagrids(angles*/np.pi, labels)
plt.figtext(0.52, 0.95, '记住我的成绩单', ha='center')
plt.grid(True)
plt.show()