Changeset 1474:b702a3da7f36 in orange-bioinformatics


Ignore:
Timestamp:
09/08/11 18:56:37 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
3fdb07338a47e42c2e8e4fb16eeaadd43cef3b6c
Message:

Moved prctile import to where it is needed (in case matplotlib is not installed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiDifscale.py

    r1466 r1474  
    44 
    55import numpy 
    6 from matplotlib.mlab import prctile 
    76 
    87import Orange 
     
    168167def AREA(data, attr_set, control='t0', weighted=False, auto=False, perc=99): 
    169168    """ AREA (Area Under the Curve) filtering method """ 
     169    from matplotlib.mlab import prctile 
    170170    if weighted: 
    171171        time_points = uniform_time_scale(attr_set) 
Note: See TracChangeset for help on using the changeset viewer.