Changeset 2069


Ignore:
Timestamp:
03/25/11 12:18:29 (14 years ago)
Author:
Kana Sugimoto
Message:

merged a bug fix in trunk (r2068)

Location:
branches/casa-prerelease/pre-asap/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/casa-prerelease/pre-asap/python

  • branches/casa-prerelease/pre-asap/python/asaplotbase.py

    r2037 r2069  
    744744                    if len(lines):
    745745                        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))
    748750                        sp['axes'].legend(tuple(lines), tuple(labels),
    749751                                          self.loc, prop=fp)
Note: See TracChangeset for help on using the changeset viewer.