def makegstyle(cStyle): cStyle.SetPadBorderMode(0) cStyle.SetOptStat(0) ## Hide stats cStyle.SetOptTitle(1) ## Display histogram titles. cStyle.SetCanvasColor(10) ## Background color (white) cStyle.SetPadColor(10) ## Background color (white) cStyle.SetFillColor(10) ## Background color (white) cStyle.SetTitleFillColor(10) ## Background color (white) cStyle.SetStatColor(10) ## Background color (white) cStyle.SetPalette(1) ## Nicer colour scale for 2D histograms. cStyle.SetTitleBorderSize(0) ##duh return cStyle