在 Python Matplotlib 中绘制盒须图时出现意外的关键字参数 'label'

Got an unexpected keyword argument 'label' while drawing box and whisker plot in Python Matplotlib

我正在使用 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()

我收到错误:

TypeError: boxplot() got an unexpected keyword argument 'label'

label 是一个记录参数 http://matplotlib.org/api/pyplot_api.html

再次检查文档字符串。参数是 labels.