From 31cce795e2d421515e8aea1f13ee0fe9cf8106ff Mon Sep 17 00:00:00 2001 From: David Blyth Date: Thu, 6 Sep 2018 14:42:45 -0500 Subject: [PATCH] e_pair_inv_mass: removed stats when multiple files are plotted together --- e_pair_inv_mass/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e_pair_inv_mass/main.go b/e_pair_inv_mass/main.go index cc7e207..1faf88d 100644 --- a/e_pair_inv_mass/main.go +++ b/e_pair_inv_mass/main.go @@ -59,8 +59,10 @@ func main() { } h := hplot.NewH1D(hist) - h.Infos.Style = hplot.HInfoSummary h.LineStyle.Color = lineColor + if len(flag.Args()) == 1 { + h.Infos.Style = hplot.HInfoSummary + } p.Add(h) } -- GitLab