PEATDB/Tables.py
def plotSetup(self):
        """Call pylab plot dialog setup, send data if we haven't already
            plotted"""
        from PylabPlot import pylabPlotter
        if not hasattr(self, 'pyplot'):
            self.pyplot = pylabPlotter()
        plotdata = self.getSelectionValues()

        if not self.pyplot.hasData() and plotdata != None:
            print 'has data'
            plotdata = self.getSelectionValues()
            pltlabels = self.getplotlabels()
            self.pyplot.setDataSeries(pltlabels)
            self.pyplot.plotSetup(plotdata)
        else:
            self.pyplot.plotSetup()

        return
Call pylab plot dialog setup, send data if we haven't already
            plotted
Call pylab plot dialog setup, send data if we haven't already
plotted
Call pylab plot dialog setup send data if we haven ' t already plotted
def plotSetup(self):
        from PylabPlot import pylabPlotter
        if not hasattr(self, 'pyplot'):
            self.pyplot = pylabPlotter()
        plotdata = self.getSelectionValues()
        if not self.pyplot.hasData() and plotdata != None:
            print 'has data'
            plotdata = self.getSelectionValues()
            pltlabels = self.getplotlabels()
            self.pyplot.setDataSeries(pltlabels)
            self.pyplot.plotSetup(plotdata)
        else:
            self.pyplot.plotSetup()
        return
def plotSetup ( self ) : from PylabPlot import pylabPlotter if not hasattr ( self , 'pyplot' ) : self . pyplot = pylabPlotter ( ) plotdata = self . getSelectionValues ( ) if not self . pyplot . hasData ( ) and plotdata != None : print 'has data' plotdata = self . getSelectionValues ( ) pltlabels = self . getplotlabels ( ) self . pyplot . setDataSeries ( pltlabels ) self . pyplot . plotSetup ( plotdata ) else : self . pyplot . plotSetup ( ) return
Call pylab plot dialog setup, send data if we haven't already
plotted
Call pylab plot dialog setup send data if we haven ' t already plotted
"""Call pylab plot dialog setup, send data if we haven't already
            plotted"""
self