Fixed axis bug in barplot

This commit is contained in:
Arnar Flatberg 2007-08-24 09:13:34 +00:00
parent 7538710144
commit 21b63b17e5

View File

@ -691,7 +691,7 @@ class BarPlot(Plot):
self.axes.bar(left, height,color=c)
else:
height = dataset.asarray().ravel()
left = scipy.arange(1, n, 1)
left = scipy.arange(1, n+1, 1)
self.axes.bar(left, height)
# Disable selection modes