I'm using ipython 3.2.0, and I'm trying to use boxplot. Online documentation and examples suggest that a keyword "labels" should exist, as also stated in this SO post, but I get the following error:
TypeError: boxplot() got an unexpected keyword argument 'labels'
Was the labels keyword removed? If so, what is the official way to get a legend for a boxplot?
The labels
kwarg was added in https://github.com/matplotlib/matplotlib/pull/2643, first shipped with mpl v1.4.0 and is still present on master.
The solution did not work for me (Python 33 on Windows). I found another way and leave it here just in case someone else may need it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With