Changeset 581 for sans/utils/bt5


Ignore:
Timestamp:
Oct 26, 2009 10:58:42 PM (13 years ago)
Author:
ajj
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/utils/bt5/bt5plot2/BT5DataSet.py

    r580 r581  
    304304        #This is frankly hideous. Surely there is a better way for me  
    305305        #to iterate through the contents of self.plot 
     306        print self.plot 
    306307        #Is it a plot with errorbars? 
    307308        if type(self.plot[0]) is tuple: 
    308             #print "Split plot with errorbars" 
     309            print "Split plot with errorbars" 
    309310            for splot in self.plot: 
    310311                splot[0].remove() 
     
    314315                    linec.remove() 
    315316        elif type(self.plot[0]).__name__ == 'Line2D' and type(self.plot[1]).__name__ == 'Line2D': 
    316             #print "Split plot without errorbars" 
     317            print "Split plot without errorbars" 
    317318            for splot in self.plot: 
    318319                splot.remove() 
    319320        elif type(self.plot[0]).__name__ == 'Line2D': 
    320             #print "Plot with errorbars" 
     321            print "Plot with errorbars" 
    321322            for line in self.plot[0:1]: 
    322323                axes = line.get_axes() 
Note: See TracChangeset for help on using the changeset viewer.