Changeset 6420 for qesdi


Ignore:
Timestamp:
27/01/10 08:54:36 (9 years ago)
Author:
pnorton
Message:

Added the new IntervalPlot? class and fixed some issues with the other plot classes.

Location:
qesdi/geoplot/trunk
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • qesdi/geoplot/trunk/buildout/buildout.cfg

    r6144 r6420  
    1010eggs = 
    1111  geoplot 
    12   numpy 
     12  numpy==1.3.0 
    1313  image_utils 
    1414  matplotlib 
  • qesdi/geoplot/trunk/lib/geoplot/config.ini

    r6118 r6420  
    1212colourBarScale = 'linear' 
    1313cmap = jet 
    14 intervalNames = None 
    1514intervals = None 
     15numIntervals = 6 
    1616 
    1717[Defaults:MetadataBox] 
  • qesdi/geoplot/trunk/lib/geoplot/contour_plot.py

    r5876 r6420  
    2323    def _drawDiagram(self, map, grid, axes, colourScheme): 
    2424         
    25         self._contourDrawer.draw(axes, grid, map.basemap,  
    26                                  colourScheme.norm, colourScheme.colourMap,  
     25        self._contourDrawer.draw(axes, grid, colourScheme, map.basemap,  
    2726                                 self.fontSize) 
    2827     
  • qesdi/geoplot/trunk/lib/geoplot/grid_drawer.py

    r6293 r6420  
    6464            drawn on the axis. 
    6565        """ 
    66  
    6766 
    6867        if cmap == None: 
  • qesdi/geoplot/trunk/lib/geoplot/grid_plot.py

    r5876 r6420  
    5959        self._gridDrawer.draw(axes, grid, limits=(self.xLimits, self.yLimits), 
    6060                              basemap=map.basemap,  
    61                               norm=colourScheme.norm, cmap=colourScheme.colourMap,  
     61                              norm=colourScheme.norm, cmap=colourScheme.cmap,  
    6262                              fontSize=self.fontSize) 
    6363 
  • qesdi/geoplot/trunk/lib/geoplot/plot_base.py

    r6089 r6420  
    147147        log.debug("self._colourBar.colourBarStyle = %s" % (self._colourBar.colourBarStyle,)) 
    148148         
    149         colourScheme = self._schemeBuilder.buildScheme(self._colourBar.colourBarStyle, grid) 
     149        colourScheme = self._schemeBuilder.buildScheme(grid) 
    150150         
    151151        log.debug("colourScheme.__class__ = %s" % (colourScheme.__class__,)) 
Note: See TracChangeset for help on using the changeset viewer.