support string labels in bar (work around matplotlib/matplotlib#2516)