Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-11-02 22:16:29 +01:00
parent e8bd5d0b7c
commit e0ab778e36

View File

@@ -440,6 +440,7 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
'timeplot':1,
'distanceplot':2,
'pieplot':3,
'None':0,
}
axis = r.staticgrids
@@ -451,6 +452,8 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
if plotnr == 0:
plotnr = plotnrs[plottype]
if plotnr == 0:
return 0,0
if w.workouttype in otwtypes:
plotnr = plotnr+3