Commit 31d8b532 authored by Javier Duarte's avatar Javier Duarte
Browse files

style

parent 50e68233
Pipeline #3816246 skipped with stage
......@@ -170,7 +170,7 @@ def plot_likelihood_scans_1d(
# dummy histogram to control axes
x_title = to_root_latex(poi_data[poi].label)
y_title = "-2 #Delta log(L)"
y_title = "#font[122]{\55}2 #Delta ln #it{L}"
h_dummy = ROOT.TH1F("dummy", ";{};{}".format(x_title, y_title), 1, x_min, x_max)
r.setup_hist(h_dummy, pad=pad, props={"LineWidth": 0, "Minimum": y_min, "Maximum": y_max})
draw_objs.append((h_dummy, "HIST"))
......@@ -551,7 +551,7 @@ def plot_likelihood_scan_2d(
# dummy histogram to control axes
x_title = to_root_latex(poi_data[poi1].label)
y_title = to_root_latex(poi_data[poi2].label)
z_title = "-2 #Delta log(L)"
z_title = "#font[122]{\55}2 #Delta ln #it{L}"
h_dummy = ROOT.TH2F("h_nll", ";{};{};{}".format(x_title, y_title, z_title),
1, x_min, x_max, 1, y_min, y_max)
r.setup_hist(h_dummy, pad=pad, props={"Contour": 100, "Minimum": z_min, "Maximum": z_max})
......@@ -1117,7 +1117,7 @@ def plot_nuisance_likelihood_scans(
x_title = "(#theta - #theta_{best}) / #Delta#theta_{pre}"
else:
x_title = "#theta / #Delta#theta_{pre}"
y_title = "-2 #Delta log(L)"
y_title = "#font[122]{\55}2 #Delta ln #it{L}"
h_dummy = ROOT.TH1F("dummy", ";{};{}".format(x_title, y_title), 1, x_min, x_max)
r.setup_hist(h_dummy, pad=pad, props={"LineWidth": 0, "Minimum": _y_min, "Maximum": _y_max})
draw_objs = [(h_dummy, "HIST")]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment