Changeset 1568


Ignore:
Timestamp:
06/29/09 11:28:49 (15 years ago)
Author:
Malte Marquarding
Message:

Fix up error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r1563 r1568  
    147147        from matplotlib.numerix import array
    148148        from matplotlib.numerix.ma import MaskedArray
    149        
     149
    150150        if x is None:
    151151            if y is None: return
     
    282282    def get_region(self):
    283283        pos = []
    284         print "Please select the bottom/left point" 
     284        print "Please select the bottom/left point"
    285285        pos.append(self.figure.ginput(n=1, show_clicks=False)[0])
    286         print "Please select the top/right point" 
     286        print "Please select the top/right point"
    287287        pos.append(self.figure.ginput(n=1, show_clicks=False)[0])
    288288        return pos
    289289
    290290    def get_point(self):
    291         print "Please select the point" 
     291        print "Please select the point"
    292292        pt = self.figure.ginput(n=1, show_clicks=False)
    293293        if pt:
     
    459459                    print 'Written file %s' % (fname)
    460460            except IOError, msg:
    461                 print 'Failed to save %s: Error msg was\n\n%s' % (fname, err)
     461                print 'Failed to save %s: Error msg was\n\n%s' % (fname, msg)
    462462                return
    463463        else:
     
    644644                                                cols, i+1)
    645645                        if asaprcParams['plotter.axesformatting'] != 'mpl':
    646                            
     646
    647647                            self.subplots[i]['axes'].xaxis.set_major_formatter(OldScalarFormatter())
    648648                    else:
Note: See TracChangeset for help on using the changeset viewer.