Changeset 1092 for trunk/UTIL/PYTHON


Ignore:
Timestamp:
Nov 7, 2013, 1:58:48 PM (11 years ago)
Author:
aslmd
Message:

PLANETOPLOT. solved a bug about counterintuitive axis labelling in 1D.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py

    r1090 r1092  
    11131113        # (except a few cases such as trans)
    11141114        for iii in range(self.howmanyplots):
     1115            ## solve the bug about reversed labels with swaplab
     1116            if opt.xlabel is None and opt.ylabel is None:
     1117                self.p[iii].swaplab = True
     1118            else:
     1119                self.p[iii].swaplab = False
     1120            ##
    11151121            if opt.void:
    11161122                self.p[iii].showcb = False
Note: See TracChangeset for help on using the changeset viewer.