From ef345cce391f7553efdaace4b827735a6d8497d3 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 24 Nov 2016 13:50:58 +0100 Subject: [PATCH] Fixed bug --- rowers/interactiveplots.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 7228a80e..086fc332 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -632,16 +632,10 @@ def interactive_cum_flex_chart2(theworkouts,promember=0, return ['','

No non-zero data in selection

','',''] - # datadf['x1'] = datadf.ix[:,xparam] - datadf = datadf.rename(columns={ - xparam:'x1', - yparam1:'y1', - }) - - # datadf['y1'] = datadf.ix[:,yparam1] + datadf['x1'] = datadf.ix[:,xparam] + datadf['y1'] = datadf.ix[:,yparam1] if yparam2 != 'None': - # datadf['y2'] = datadf.ix[:,yparam2] - datadf = datadf.rename(columns={yparam2:'y2'}) + datadf['y2'] = datadf.ix[:,yparam2] else: datadf['y2'] = datadf['y1'] @@ -680,8 +674,6 @@ def interactive_cum_flex_chart2(theworkouts,promember=0, datadf.copy() ) - print "jet",timezone.now() - # Add hover to this comma-separated string and see what changes if (promember==1): TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,resize,crosshair'