Ignore:
Timestamp:
07/09/09 12:52:39 (11 years ago)
Author:
pnorton
Message:

Improved the colour bar code so it now accepts the data array instead of just a minimum + maximum. It also now defaults to creating a Normalize instance with vmin=None and vmax=None instead of 0 and 1.

Also modified the layer_drawer objects to use the ColourBar? class instead of implementing it themselves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/geoplot/trunk/lib/geoplot/tests/drawing/draw_test_colourbar.py

    r5605 r5688  
    33import logging 
    44 
    5 from geoplot.tests.drawing import getDrawingOutputDir 
    65from geoplot.colour_bar import ColourBar 
    76 
     
    2524if __name__ == '__main__': 
    2625 
     26    from geoplot.tests.drawing import getDrawingOutputDir 
    2727    from geoplot.log_util import SHORT_LOG_FORMAT_STRING 
    2828    logging.basicConfig(level=logging.DEBUG, format=SHORT_LOG_FORMAT_STRING) 
Note: See TracChangeset for help on using the changeset viewer.