diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 66ef7cf6..d8e1c9e8 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -1192,12 +1192,12 @@ def interactive_flex_chart2(id=0,promember=0, try: rowdata['x1'] = rowdata.ix[:,xparam] except KeyError: - rowdata['x1'] = 0*rowdata.ix[:,1] + rowdata['x1'] = 0*rowdata.ix[:,'time'] try: rowdata['y1'] = rowdata.ix[:,yparam1] except KeyError: - rowdata['y1'] = 0*rowdata.ix[:,xparam] + rowdata['y1'] = 0*rowdata.ix[:,'time'] tseconds = rowdata.ix[:,'time'] @@ -1205,7 +1205,7 @@ def interactive_flex_chart2(id=0,promember=0, try: rowdata['y2'] = rowdata.ix[:,yparam2] except KeyError: - rowdata['y2'] = rowdata.ix[:,yparam1] + rowdata['y2'] = 0*rowdata.ix[:,'time'] else: rowdata['y2'] = rowdata['y1']