Fix box plots legends for python2.