Fixed axis bug in barplot
This commit is contained in:
parent
7538710144
commit
21b63b17e5
|
@ -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
|
||||
|
|
Reference in New Issue