diff python/pavement.py @ 434:9a714f32fc9f

small updates
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sat, 30 Nov 2013 18:03:35 -0500
parents d40ad901b272
children 830136bc0e18
line wrap: on
line diff
--- a/python/pavement.py	Fri Nov 29 02:38:41 2013 -0500
+++ b/python/pavement.py	Sat Nov 30 18:03:35 2013 -0500
@@ -23,9 +23,8 @@
         plot(self.data['jours']/float(dayRatio), 
              self.data[measure], options, **kwargs)
 
-    def getMarkingMeasures(self, measure, ligneNum):
+    def getMarkingMeasures(self, dataLabel):
         from numpy import isnan
-        dataLabel = '{}_{}'.format(measure, ligneNum)
         nonZeroIndices = ~isnan(self.data[dataLabel])
         return self.data[nonZeroIndices]['jours'], self.data[nonZeroIndices][dataLabel]