我正在使用 python matplotlib 版本 1.4.3 当我尝试设置label参数时:
import matplotlib.pyplot as plt
data = [[1,2,3],[4,5,6],[5,6,7]]
plt.boxplot(data, label=list('abc'))
plt.show()
Run Code Online (Sandbox Code Playgroud)
我得到错误:
TypeError: boxplot() got an unexpected keyword argument 'label'
whilelabel是一个文档参数http://matplotlib.org/api/pyplot_api.html
| 归档时间: |
|
| 查看次数: |
4870 次 |
| 最近记录: |