Commits

Aleš Erjavec committed b702a3d

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

  • Participants
  • Parent commits b448d8e

Comments (0)

Files changed (1)

File obiDifscale.py

 from operator import itemgetter
 
 import numpy
-from matplotlib.mlab import prctile
 
 import Orange
 import obiGEO
 
 def AREA(data, attr_set, control='t0', weighted=False, auto=False, perc=99):
     """ AREA (Area Under the Curve) filtering method """
+    from matplotlib.mlab import prctile
     if weighted:
         time_points = uniform_time_scale(attr_set)
     else: