Changeset 2069 for branches/casa-prerelease
- Timestamp:
- 03/25/11 12:18:29 (14 years ago)
- Location:
- branches/casa-prerelease/pre-asap/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap/python
- Property svn:mergeinfo changed
/trunk/python merged: 2068
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/python/asaplotbase.py
r2037 r2069 744 744 if len(lines): 745 745 fp = FP(size=rcParams['legend.fontsize']) 746 fsz = fp.get_size_in_points() - len(lines) 747 fp.set_size(max(fsz,6)) 746 #fsz = fp.get_size_in_points() - len(lines) 747 fsz = fp.get_size_in_points() - max(len(lines),self.cols) 748 #fp.set_size(max(fsz,6)) 749 fp.set_size(max(fsz,8)) 748 750 sp['axes'].legend(tuple(lines), tuple(labels), 749 751 self.loc, prop=fp)
Note:
See TracChangeset
for help on using the changeset viewer.