Changeset 17954
- Timestamp:
- 05/06/14 18:00:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_manager.py
r17880 r17954 11 11 from plot_unit import plot_unit 12 12 from applyoptions import applyoptions 13 from plot_overlay import plot_overlay 13 14 try: 15 from osgeo import gdal 16 overlaysupport=True 17 except ImportError: 18 print 'osgeo/gdal for python not installed, overlay plots are not enabled' 19 overlaysupport=False 20 21 if overlaysupport: 22 from plot_overlay import plot_overlay 14 23 15 24 def plot_manager(md,options,fig,ax): … … 45 54 46 55 #overlay plot 47 if options.exist('overlay') :56 if options.exist('overlay') and overlaysupport: 48 57 plot_overlay(md,data,options,ax) 49 58 options.addfielddefault('alpha',0.5)
Note:
See TracChangeset
for help on using the changeset viewer.