Changeset 1040 for trunk/UTIL
- Timestamp:
- Sep 13, 2013, 8:41:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
r1039 r1040 578 578 stridevecx=1,\ 579 579 stridevecy=1,\ 580 leftcorrect=False,\ 580 581 colorvec="black"): 581 582 ## get initialization from parent class … … 598 599 self.stridevecx = stridevecx 599 600 self.stridevecy = stridevecy 601 self.leftcorrect = leftcorrect 600 602 601 603 # define_from_var … … 772 774 llcrnrlat=wlat[0],urcrnrlat=wlat[1],\ 773 775 llcrnrlon=wlon[0],urcrnrlon=wlon[1]) 774 # some projections need to be translated to the left for colorbar + labels 775 if self.proj in ["ortho","cyl"]: 776 # in some case need to translated to the left for colorbar + labels 777 # TBD: break stuff. a better solution should be found. 778 if self.leftcorrect: 776 779 ax = mpl.gca() 777 780 pos = ax.get_position().bounds
Note: See TracChangeset
for help on using the changeset viewer.