(self, data)
return
Do a pylab bar chart
Do a pylab bar chart
Do a pylab bar chart
def doPieChart(self, data):
        """Do a pylab bar chart"""
        if len(data) == 1:
            ydim=1
        else:
            ydim=2
        dim=int(ceil(len(data)/2.0))
        i=1
        for r in data:
            if len(r)==0:
                continue
            fig = pylab.subplot(ydim,dim,i)

            for j in range(len(r)):
                r[j] = float(r[j])
            pylab.pie(r)
            i=i+1

        return
def doPieChart ( self , data ) : if len ( data ) == 1 : ydim = 1 else : ydim = 2 dim = int ( ceil ( len ( data ) / 2.0 ) ) i = 1 for r in data : if len ( r ) == 0 : continue fig = pylab . subplot ( ydim , dim , i ) for j in range ( len ( r ) ) : r [ j ] = float ( r [ j ] ) pylab . pie ( r ) i = i + 1 return