Changeset 1090


Ignore:
Timestamp:
Nov 7, 2013, 10:02:02 AM (11 years ago)
Author:
aslmd
Message:

PLANETOPLOT. bug fix on a bad condition. that made some lat/lon axis inoperate for wrong reasons.

File:
1 edited

Legend:

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

    r1089 r1090  
    13861386          # if xy axis are apparently undefined, set 2D grid points axis.
    13871387          if "grid points" not in self.name_x:
    1388             if self.field_x.all() == self.field_x[0,0] \
     1388            if np.all(self.field_x == self.field_x[0,0]) \
    13891389             or self.field_x.min() == self.field_x.max() \
    13901390             or self.field_y.min() == self.field_y.max():
Note: See TracChangeset for help on using the changeset viewer.