adding grid user settings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user