http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar
use
ax.set_xticks(ind+width*.5)
instead of
ax.set_xticks(ind+width)
-JJ
On Thu, Mar 5, 2009 at 1:40 PM, Timmie timmichel...@gmx-topmail.de wrote:
Hello,
I tried to modify the bar chart demo for my case.
I
Hello,
I tried to modify the bar chart demo for my case.
I want to plot only bar charts for one data set.
But the xticklables are not centered below the bars, rather are they left in
place as if there were still two data sets.
How do I modify set_xticklabels in oder to get the lables centered