Changeset 1098 for trunk/python


Ignore:
Timestamp:
07/31/06 15:45:01 (18 years ago)
Author:
mar637
Message:

fix to legend location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r1095 r1098  
    197197        """
    198198        if isinstance(loc, int):
    199             if 0 >= loc > 10: loc = None
    200             self.loc = loc
     199            self.loc = None
     200            if 0 <= loc <= 10: self.loc = loc
    201201        else:
    202202            self.loc = None
     
    684684                setp(ax.get_xticklabels(), fontsize=xts)
    685685                setp(ax.get_yticklabels(), fontsize=yts)
    686                 origx = rcParams['xtick.labelsize'] #ax.xaxis.label.get_size()
    687                 origy =  rcParams['ytick.labelsize'] #ax.yaxis.label.get_size()
     686                origx = rcParams['axes.labelsize'] #ax.xaxis.label.get_size()
     687                origy = rcParams['axes.labelsize'] #ax.yaxis.label.get_size()
    688688                off = 0
    689689                if self.cols > 1: off = self.cols
Note: See TracChangeset for help on using the changeset viewer.