I am trying to make the bar for many countries, and I want the names to appear a little under the bars. The problem is that spaces between labels are irregular.

Here is the relevant code:
plt.bar(i, bar_height, align='center', label=country ,color=cm.jet(1.*counter/float( len(play_list)))) xticks_pos = scipy.arange( len( country_list)) +1 plt.xticks(xticks_pos ,country_list, rotation=45 )
Does anyone know a solution?
Thanks! For reference.
Christian
python matplotlib label bar-chart
Christian kaiser
source share