Mercurial Hosting > traffic-intelligence
diff python/utils.py @ 1022:b7689372c0ec
renamed quantile to centile
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 06 Jun 2018 10:35:06 -0400 |
parents | 16932cefabc1 |
children | a13f47c8931d |
line wrap: on
line diff
--- a/python/utils.py Tue Jun 05 17:02:28 2018 -0400 +++ b/python/utils.py Wed Jun 06 10:35:06 2018 -0400 @@ -426,8 +426,6 @@ if plotFigure: plt.figure() plt.boxplot([tmp.loc[tmp[independentVariable] == x, dependentVariable] for x in independentVariableValues]) - #q25, q75 = tmp[dependentVariable].quantile([.25, .75]) - #plt.ylim(ymax = q75+1.5*(q75-q25)) plt.xticks(range(1,len(independentVariableValues)+1), independentVariableValues) plt.title('{} vs {}'.format(dependentVariable, independentVariable)) if filenamePrefix is not None: