diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 7dfbeddc..e5d04522 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -1223,12 +1223,12 @@ def interactive_flex_chart2(id=0,promember=0, try: rowdata['x1'] = rowdata.ix[:,xparam] except KeyError: - rowdata['x1'] = 0*rowdata.ix[:'time'] + 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'] @@ -1236,7 +1236,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']