Changeset 1717


Ignore:
Timestamp:
03/18/10 19:44:01 (15 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-1817)

Ready to Release: for CASA 3.0.2, Yes

Interface Changes: No

What Interface Changes:

Test Programs: plot several times and see axes title font size won't change.

Put in Release Notes: No

Module(s):

Description: A bit more modification to prevent title font from being too small.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/asaplotbase.py

    r1714 r1717  
    727727            for sp in self.subplots:
    728728                ax = sp['axes']
    729                 s = ax.title.get_size()
     729                #s = ax.title.get_size()
    730730                #tsize = s-(self.cols+self.rows)
    731                 tsize = s-(self.cols)/2
     731                s=FP(size=rcParams['axes.titlesize'])
     732                tsize = s.get_size_in_points()-(self.cols)/2
    732733                ax.title.set_size(tsize)
    733734                fp = FP(size=rcParams['axes.labelsize'])
Note: See TracChangeset for help on using the changeset viewer.