Changeset 964 for trunk/UTIL/PYTHON/planetoplot_v2
- Timestamp:
- May 18, 2013, 3:05:02 PM (12 years ago)
- Location:
- trunk/UTIL/PYTHON/planetoplot_v2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py
r963 r964 146 146 folder="./",\ 147 147 includedate=True,\ 148 res=150.,\ 148 149 xlabel=None,ylabel=None,\ 149 150 xcoeff=None,ycoeff=None,\ … … 190 191 self.out = out 191 192 self.filename = filename 193 self.res = res 192 194 self.folder = folder 193 195 self.includedate = includedate … … 932 934 print "**** PPCLASS. Done step: makeplot" 933 935 if (self.n == self.howmanyplots): 934 ppplot.save(mode=self.out,filename=self.filename,folder=self.folder,custom=self.customplot,includedate=self.includedate )936 ppplot.save(mode=self.out,filename=self.filename,folder=self.folder,custom=self.customplot,includedate=self.includedate,res=self.res) 935 937 mpl.close() 936 938 # SAVE A PICKLE FILE WITH THE self.p ARRAY OF OBJECTS -
trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
r960 r964 488 488 vmin=None,\ 489 489 vmax=None,\ 490 showcb=True,\ 490 491 colorvec="black"): 491 492 ## get initialization from parent class … … 505 506 self.area = area 506 507 self.vmin = vmin ; self.vmax = vmax 508 self.showcb = showcb 507 509 508 510 # define_from_var … … 683 685 ### COLORBAR 684 686 ############################################################################################ 685 if self.trans > 0. :687 if self.trans > 0. and self.showcb: 686 688 ## draw colorbar. settings are different with projections. or if not mapmode. 687 689 if not self.mapmode: orientation=zeorientation ; frac = 0.075 ; pad = 0.03 ; lu = 0.5
Note: See TracChangeset
for help on using the changeset viewer.