Changeset 1479
- Timestamp:
- 01/16/09 16:07:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotbase.py
r1425 r1479 413 413 if fname[-3:].lower() == ".ps": 414 414 from matplotlib import __version__ as mv 415 w = self.figure. figwidth.get()416 h = self.figure. figheight.get()415 w = self.figure.get_figwidth() 416 h = self.figure.get_figheight() 417 417 418 418 if orientation is None: … … 431 431 ow = ds * w 432 432 oh = ds * h 433 self.figure.set_ figsize_inches((ow, oh))433 self.figure.set_size_inches((ow, oh)) 434 434 self.figure.savefig(fname, orientation=orientation, 435 435 papertype=papertype.lower()) 436 self.figure.set_ figsize_inches((w, h))436 self.figure.set_size_inches((w, h)) 437 437 print 'Written file %s' % (fname) 438 438 else:
Note:
See TracChangeset
for help on using the changeset viewer.