Locale not working

Although I am able to change Python locale with
locale.setlocale(locale.LC_ALL, 'es_ES')

when I plot a bar chart, month names are still in English.

Am I missing something?