def myplo(data,PL):
for name in PL:
plt.plot(Points[0],c = Col[name],ls=":",marker= Shape[name],ms= MS[name],label = Players[0])
plt.legend(loc='upper left',bbox_to_anchor=(1,1))
plt.xticks(list(range(0,10)),Seasons,rotation= 'vertical')
plt.show()
输入了词典和所有其他相关功能。但是当我进入 myplot(点)
发生以下错误
TypeError
Traceback (most recent call last) <ipython-input-215-e2827b75a02e> in <module>()
----> 1 myplo(Points)
TypeError: myplo() missing 1 required positional argument: 'PL'