Changeset 661
- Timestamp:
- 08/08/05 11:03:31 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release-2-fixes/python/asaplot.py
r652 r661 380 380 381 381 382 def save(self, fname=None ):382 def save(self, fname=None, orientation='landscape'): 383 383 """ 384 384 Save the plot to a file. … … 401 401 if fname[-3:].lower() in d: 402 402 try: 403 self.canvas.print_figure(fname )403 self.canvas.print_figure(fname,orientation=orientation) 404 404 print 'Written file %s' % (fname) 405 405 except IOError, msg:
Note:
See TracChangeset
for help on using the changeset viewer.