Ignore:
Timestamp:
04/12/09 16:07:45 (11 years ago)
Author:
pnorton
Message:

Imroved the colour bar code so that a legend colour bar can be used without specifying any intervals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/geoplot/trunk/lib/geoplot/plot_base.py

    r5876 r6089  
    145145        grid = self._gridFactory.getGrid(self.xLimits, self.yLimits) 
    146146         
    147         colourScheme = self._schemeBuilder.buildScheme(grid) 
     147        log.debug("self._colourBar.colourBarStyle = %s" % (self._colourBar.colourBarStyle,)) 
     148         
     149        colourScheme = self._schemeBuilder.buildScheme(self._colourBar.colourBarStyle, grid) 
     150         
     151        log.debug("colourScheme.__class__ = %s" % (colourScheme.__class__,)) 
    148152         
    149153        self._drawDiagram(map, grid, self._plotArea.axes, colourScheme) 
Note: See TracChangeset for help on using the changeset viewer.