From dafc0e10ccbcb6180e4cad1f6244a2241182e2bf Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sun, 27 Nov 2016 22:31:41 +0100 Subject: [PATCH] dataprep7 --- rowers/interactiveplots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index fdb04045..12bcbecb 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -70,7 +70,7 @@ from rowers.dataprep import timedeltaconv def interactive_histoall(theworkouts): TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,hover,resize,crosshair' - ids = [w.id for w in theworkouts] + ids = [int(w.id) for w in theworkouts] rowdata = dataprep.getsmallrowdata_db(['power'],ids=ids) @@ -568,7 +568,7 @@ def interactive_cum_flex_chart2(theworkouts,promember=0, yparam2='spm'): # datadf = dataprep.smalldataprep(theworkouts,xparam,yparam1,yparam2) - ids = [w.id for w in theworkouts] + ids = [int(w.id) for w in theworkouts] datadf = dataprep.getsmallrowdata_db([xparam,yparam1,yparam2],ids=ids) axlabels = {