Changeset 17819


Ignore:
Timestamp:
04/22/14 20:55:57 (11 years ago)
Author:
cborstad
Message:

BUG: coerce ncols and nrows as ints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plotmodel.py

    r17778 r17819  
    4242                nc=True
    4343        else:
    44                 ncols=subplotwidth
     44                ncols=int(subplotwidth)
    4545                nc=False
     46        ncols=int(ncols)
     47        nrows=int(nrows)
    4648       
    4749        #check that nrows and ncols were given at the same time!
     
    7173                                share_all=True,
    7274                                label_mode='all',
    73                                 cbar_mode='single',
     75                                cbar_mode='each',
    7476                                cbar_location='right',
    7577                                cbar_size='5%',
Note: See TracChangeset for help on using the changeset viewer.