PEATDB/Compare.py
def replot(self, event=None, selected=None):
        """Replot all frames with current datasets"""
        if selected == None:
            selected = self.selector.getSelected()         
        if len(selected) == 0:
            return
        for p in self.plotframes:
            pf = self.plotframes[p]
            E = pf.E
            #get all datasets matching values
            datasets = self.getNames(selected, E)            
            pf.Opts.opts['title'] = E.name
            pf.plotCurrent(datasets=datasets)
        if self.yas != None:    
            self.yas.markLabels(selected)
        return
Replot all frames with current datasets
Replot all frames with current datasets
Replot all frames with current datasets
def replot(self, event=None, selected=None):
        if selected == None:
            selected = self.selector.getSelected()         
        if len(selected) == 0:
            return
        for p in self.plotframes:
            pf = self.plotframes[p]
            E = pf.E
            datasets = self.getNames(selected, E)            
            pf.Opts.opts['title'] = E.name
            pf.plotCurrent(datasets=datasets)
        if self.yas != None:    
            self.yas.markLabels(selected)
        return
def replot ( self , event = None , selected = None ) : if selected == None : selected = self . selector . getSelected ( ) if len ( selected ) == 0 : return for p in self . plotframes : pf = self . plotframes [ p ] E = pf . E datasets = self . getNames ( selected , E ) pf . Opts . opts [ 'title' ] = E . name pf . plotCurrent ( datasets = datasets ) if self . yas != None : self . yas . markLabels ( selected ) return
Replot all frames with current datasets
Replot all frames with current datasets
"""Replot all frames with current datasets""" #get all datasets matching values
self
event
selected