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 = {