From 7bc99b4084b3d2829f4857c712e739125a6babc7 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sun, 17 Mar 2019 09:44:22 +0100 Subject: [PATCH] fix #440 --- rowers/interactiveplots.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 282894bd..1c485388 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -493,49 +493,49 @@ def interactive_forcecurve(theworkouts,workstrokesonly=False): plot.add_layout(avf) - peakflabel = Label(x=455,y=530,x_units='screen',y_units='screen', + peakflabel = Label(x=355,y=430,x_units='screen',y_units='screen', text="Fpeak: {peakforceav:6.2f}".format(peakforceav=peakforceav), background_fill_alpha=.7, background_fill_color='white', text_color='blue', ) - avflabel = Label(x=465,y=500,x_units='screen',y_units='screen', + avflabel = Label(x=365,y=400,x_units='screen',y_units='screen', text="Favg: {averageforceav:6.2f}".format(averageforceav=averageforceav), background_fill_alpha=.7, background_fill_color='white', text_color='blue', ) - catchlabel = Label(x=460,y=470,x_units='screen',y_units='screen', + catchlabel = Label(x=360,y=370,x_units='screen',y_units='screen', text="Catch: {catchav:6.2f}".format(catchav=catchav), background_fill_alpha=0.7, background_fill_color='white', text_color='red', ) - peakforceanglelabel = Label(x=420,y=440,x_units='screen',y_units='screen', + peakforceanglelabel = Label(x=320,y=340,x_units='screen',y_units='screen', text="Peak angle: {peakforceangleav:6.2f}".format(peakforceangleav=peakforceangleav), background_fill_alpha=0.7, background_fill_color='white', text_color='red', ) - finishlabel = Label(x=455,y=410,x_units='screen',y_units='screen', + finishlabel = Label(x=355,y=310,x_units='screen',y_units='screen', text="Finish: {finishav:6.2f}".format(finishav=finishav), background_fill_alpha=0.7, background_fill_color='white', text_color='red', ) - sliplabel = Label(x=470,y=380,x_units='screen',y_units='screen', + sliplabel = Label(x=370,y=280,x_units='screen',y_units='screen', text="Slip: {slipav:6.2f}".format(slipav=slipav), background_fill_alpha=0.7, background_fill_color='white', text_color='red', ) - washlabel = Label(x=460,y=350,x_units='screen',y_units='screen', + washlabel = Label(x=360,y=250,x_units='screen',y_units='screen', text="Wash: {washav:6.2f}".format(washav=washav), background_fill_alpha=0.7, background_fill_color='white',