Ignore:
Timestamp:
14/12/09 15:30:04 (11 years ago)
Author:
pnorton
Message:

Added the interval geoplot renderer, also improved the slab option parser and moved the responsibility for generating the colour bars to the slabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/service/imps/data_reader_geoplot_backend/geoplot_slabs/geoplot_slab_base.py

    r6102 r6123  
    2323    renderingOptions = [ 
    2424        RenderingOption('cmap', "Colour Scheme" ,str,'jet',["bone","jet", "copper", "gray", "winter"] ), 
    25          
    2625        RenderingOption('cmap_min', "Legend Min" ,float,None), 
    2726        RenderingOption('cmap_max', "Legend Max" ,float,None), 
     
    4241        some custom rendering options. 
    4342    """ 
    44     def __init__(self, variable, title, crs, dimValues, transparent, bgcolour, bbox, renderOpts): 
     43    def __init__(self, variable, title, crs, dimValues, transparent, bgcolor, bbox, renderOpts): 
    4544 
    4645        self.title = title 
    4746        self.renderOpts = renderOpts 
    48         self.bgcolour = bgcolour 
     47        self.bgcolor = bgcolor 
    4948        self.transparent = transparent 
    5049        self.variable = variable 
Note: See TracChangeset for help on using the changeset viewer.