MRu*_*ule 5 python ubuntu matplotlib ipython
我正在使用ipython 3.2.0,并且正在尝试使用boxplot。在线文档和示例表明,应该存在一个关键字“标签”,正如本SO帖子中所述,但出现以下错误:
TypeError: boxplot() got an unexpected keyword argument 'labels'
Run Code Online (Sandbox Code Playgroud)
标签关键字是否已删除?如果是这样,获得箱形图例的官方方式是什么?
kwarg是在https://github.com/matplotlib/matplotlib/pull/2643labels中添加的,首先随 mpl v1.4.0 一起发布,并且仍然存在于 master 上。