Private
Public Access
1
0

adding fast and slow pace ranges

This commit is contained in:
Sander Roosendaal
2020-05-03 16:51:34 +02:00
parent 0f3d697057
commit 1efe86df92
5 changed files with 35 additions and 9 deletions

View File

@@ -454,10 +454,14 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
if w.workouttype in otwtypes:
plotnr = plotnr+3
otwrange = [r.fastpaceotw.total_seconds(),r.slowpaceotw.total_seconds()]
oterange = [r.fastpaceerg.total_seconds(),r.slowpaceerg.total_seconds()]
job = myqueue(queuehigh,handle_makeplot,f1,f2,
title,hrpwrdata,
plotnr,imagename,gridtrue=gridtrue,axis=axis)
plotnr,imagename,gridtrue=gridtrue,axis=axis,
otwrange=otwrange,oterange=oterange)
try:
width,height = Image.open(fullpathimagename).size