Private
Public Access
1
0

adding grid user settings

This commit is contained in:
Sander Roosendaal
2020-05-03 11:11:18 +02:00
parent eaace7c426
commit 0f3d697057
7 changed files with 67 additions and 18 deletions

View File

@@ -441,6 +441,13 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
'pieplot':3,
}
axis = r.staticgrids
if axis == None:
gridtrue = False
axis = 'both'
else:
gridtrue = True
if plotnr == 0:
plotnr = plotnrs[plottype]
@@ -450,7 +457,7 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
job = myqueue(queuehigh,handle_makeplot,f1,f2,
title,hrpwrdata,
plotnr,imagename)
plotnr,imagename,gridtrue=gridtrue,axis=axis)
try:
width,height = Image.open(fullpathimagename).size