Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Fixed axis bug in barplot

This commit is contained in:
Arnar Flatberg 2007-08-24 09:13:34 +00:00
parent 7538710144
commit 21b63b17e5
1 changed files with 1 additions and 1 deletions

View File

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