diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 1053c855..a17c74f0 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -1043,18 +1043,18 @@ def interactive_cum_flex_chart2(theworkouts,promember=0, # test if we have drive energy nowork = 1 try: - test = rowdata['driveenergy'].mean() + test = datadf['driveenergy'].mean() nowork = 0 except KeyError: - rowdata['driveenergy'] = 500. + datadf['driveenergy'] = 500. # test if we have power nopower = 1 try: - test = rowdata['power'].mean() + test = datadf['power'].mean() nopower = 0 except KeyError: - rowdata['power'] = 50. + datadf['power'] = 50. yparamname1 = axlabels[yparam1] diff --git a/rowers/templates/cum_flex.html b/rowers/templates/cum_flex.html index 22acd20a..4d712ba2 100644 --- a/rowers/templates/cum_flex.html +++ b/rowers/templates/cum_flex.html @@ -24,7 +24,28 @@
- This is an experimental page which just lists a bunch of statistics for - your workouts. This page is under rapid development. -
+