Setting bar spacing in a matplotlib bar plot
I have a matplotlib.bar plot that looks like this
![matplotlib bar plot](http://i.stack.imgur.com/APy0V.png)

And I can't figure out how to space the bars further apart so the labels are readable.
Here is my code
`import matplotlib  
matplotlib.use('Agg')  
import matplotlib.pyplot as plt  
def makePlot(self, data, labels, title, fileName):  
....plt.bar(range(1,len(data)+1), data, align="center")  
....plt.title(title)  
....plt.xticks(range(1, len(labels)+1), labels)  
....plt.savefig(fileName)  
....plt.clf()`

Setting bar spacing in a matplotlib bar plot
===

I have a matplotlib.bar plot that looks like this
![matplotlib bar plot](http://i.stack.imgur.com/APy0V.png)

And I can't figure out how to space the bars further apart so the labels are readable.
Here is my code
`import matplotlib  
matplotlib.use('Agg')  
import matplotlib.pyplot as plt  
def makePlot(self, data, labels, title, fileName):  
....plt.bar(range(1,len(data)+1), data, align="center")  
....plt.title(title)  
....plt.xticks(range(1, len(labels)+1), labels)  
....plt.savefig(fileName)  
....plt.clf()`
