Changeset 661 for branches


Ignore:
Timestamp:
08/08/05 11:03:31 (19 years ago)
Author:
mar637
Message:

asaplot.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release-2-fixes/python/asaplot.py

    r652 r661  
    380380
    381381
    382     def save(self, fname=None):
     382    def save(self, fname=None, orientation='landscape'):
    383383        """
    384384        Save the plot to a file.
     
    401401        if fname[-3:].lower() in d:
    402402            try:
    403                 self.canvas.print_figure(fname)
     403                self.canvas.print_figure(fname,orientation=orientation)
    404404                print 'Written file %s' % (fname)
    405405            except IOError, msg:
Note: See TracChangeset for help on using the changeset viewer.