Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correction to handle a none-None type
When the input clim is a "None Type" the script fails with: File "/nbhome/Niki.Zadeh/ulm_201510_mom6_2016.03.22/OMp5_COBALT.2016.03.22/mom6/tools/analysis/m6plot.py", line 87, in xyplot elif len(clim)>2: cb.set_ticks( clim ) TypeError: object of type 'NoneType' has no len() This fixes the issue.
- Loading branch information