Changeset 2169 for trunk


Ignore:
Timestamp:
05/17/11 15:22:45 (14 years ago)
Author:
Malte Marquarding
Message:

Fix version check fro matplotlib >=1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r2068 r2169  
    2222    from matplotlib.transforms import blend_xy_sep_transform as blended_transform_factory
    2323
    24 if int(matplotlib.__version__.split(".")[1]) < 99:
     24mvers = matplotlib.__version__.split(".")
     25if int(mvers[0]) == 0 and int(mvers[1]) < 99:
    2526    #print "Warning: matplotlib version < 0.87. This might cause errors. Please upgrade."
    2627    asaplog.push( "matplotlib version < 0.99. This might cause errors. Please upgrade." )
Note: See TracChangeset for help on using the changeset viewer.