diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 6e614247..6b996747 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -1555,8 +1555,7 @@ def fitnessfit_chart(workouts,user,workoutmode='water',startdate=None, except: pass - if len(data) == 0: - return '','Insufficient data' + if len(data)>1: df = pd.concat(data,axis=0) @@ -1720,7 +1719,7 @@ def fitnessfit_chart(workouts,user,workoutmode='water',startdate=None, try: script,div = components(plot) except: - return '','Insufficient Data' + return '','Something went wrong withthe chart' return [script,div]