remove print statements
authorLisa Hsu <hsul@eecs.umich.edu>
Sat, 18 Feb 2006 23:39:19 +0000 (18:39 -0500)
committerLisa Hsu <hsul@eecs.umich.edu>
Sat, 18 Feb 2006 23:39:19 +0000 (18:39 -0500)
--HG--
extra : convert_revision : abd635034424eeb9685aea777440a02887ce81a6

util/stats/barchart.py

index ddb31be468964acab3e440c10162a6d0869bba59..29d16db17ddff17b0d9cd1b3e4fc84de46c8f76c 100644 (file)
@@ -76,14 +76,12 @@ class BarChart(ChartOptions):
         # bars.
         if dim == 2:
             self.chartdata = transpose([data], axes=(2,0,1))
-            print shape(self.chartdata)
 
         # If the input data is a 3d matrix, then it describes an array
         # of groups of bars with each bar being an array of stacked
         # values.
         if dim == 3:
             self.chartdata = transpose(data, axes=(1,2,0))
-            print shape(self.chartdata)
 
     def get_data(self):
         return self.inputdata
@@ -207,7 +205,7 @@ class BarChart(ChartOptions):
         if self.xsubticks is not None:
             inner_axes.set_xticks(arange((cshape[0] + 1)*cshape[2])*width + 2*center)
             self.xsubticks.append('')
-            inner_axes.set_xticklabels(self.xsubticks * cshape[0], fontsize=8)
+            inner_axes.set_xticklabels(self.xsubticks * cshape[2], fontsize=8)
         if self.legend is not None:
             if dim == 1:
                 lbars = bars[0][0]