Changeset 1032 for trunk/python
- Timestamp:
- 04/26/06 10:53:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotbase.py
r1027 r1032 449 449 oh = ds * h 450 450 self.figure.set_figsize_inches((ow,oh)) 451 self.figure.savefig(fname, orientation=orientation, 452 papertype="a4") 453 # reset the figure size 451 from matplotlib import __version__ as mv 452 # hack to circument ps bug in eraly versions of mpl 453 if int(mv.split(".")[1]) < 87: 454 self.figure.savefig(fname, orientation=orientation) 455 else: 456 self.figure.savefig(fname, orientation=orientation, 457 papertype="a4") 454 458 self.figure.set_figsize_inches((w,h)) 455 459 print 'Written file %s' % (fname)
Note:
See TracChangeset
for help on using the changeset viewer.