Ignore:
Timestamp:
09/09/05 13:59:41 (19 years ago)
Author:
mar637
Message:

Fixed ps bug, where aspect ratios and sizes weren't handled properly. NOTE. A4 is hardcoded. This needs to be changed.

File:
1 edited

Legend:

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

    r652 r671  
    514514        return
    515515
    516     def save(self, filename=None, orientation='landscape'):
     516    def save(self, filename=None, orientation=None):
    517517        """
    518518        Save the plot to a file. The know formats are 'png', 'ps', 'eps'.
     
    523523                          called 'yyyymmdd_hhmmss.png' is created in the
    524524                          current directory.
    525              orientation: optional parameter for postscript. 'landscape'
    526                           (default) and 'portrait' are valid.
     525             orientation: optional parameter for postscript only (not eps).
     526                          'landscape', 'portrait' or None (default) are valid.
     527                          If None is choosen for 'ps' output, the plot is
     528                          automatically oriented to fill the page.
    527529        """
    528530        self._plotter.save(filename,orientation)
Note: See TracChangeset for help on using the changeset viewer.