180 def figur(title,hist,xlabel,namef):
181 fig = Figure(figsize=(13,10))
183 plot(fig.add_subplot(2,3,1),hist[title][
"normal"]
if len(hist[title][
"normal"])
else [-1], xlabel+
" - normal")
184 plot(fig.add_subplot(2,3,2),hist[title][
"long"]
if len(hist[title][
"long"])
else [-1], xlabel+
" - long")
185 plot(fig.add_subplot(2,3,3),hist[title][
"ganged"]
if len(hist[title][
"ganged"])
else [-1], xlabel+
" - ganged")
186 plot(fig.add_subplot(2,3,4),hist[title][
"normal"]
if len(hist[title][
"normal"])
else [-1], xlabel+
" - normal" ,
True)
187 plot(fig.add_subplot(2,3,5),hist[title][
"long"]
if len(hist[title][
"long"])
else [-1], xlabel+
" - long" ,
True)
188 plot(fig.add_subplot(2,3,6),hist[title][
"ganged"]
if len(hist[title][
"ganged"])
else [-1], xlabel+
" - ganged" ,
True)
189 FigureCanvasAgg(fig).print_figure(
"plots/parameters/"+namef, dpi=150)