Commit d88fe499 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Plot consistency.

parent 7fa7eb4c
Pipeline #3470012 skipped with stage
......@@ -259,7 +259,8 @@ def plot_exclusion_and_bestfit_1d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -581,7 +582,8 @@ def plot_exclusion_and_bestfit_2d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......
......@@ -113,7 +113,8 @@ def plot_gof_distribution(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -305,7 +306,8 @@ def plot_gofs(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......
......@@ -233,7 +233,8 @@ def plot_likelihood_scan_1d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -473,8 +474,8 @@ def plot_likelihood_scans_1d(
y_offset=y_offset))
# cms label
cms_labels = r.routines.create_cms_labels(pad=pad, layout="outside_horizontal",
postfix="" if paper else cms_postfix)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -769,7 +770,8 @@ def plot_likelihood_scan_2d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -959,8 +961,8 @@ def plot_likelihood_scans_2d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=180))
# cms label
cms_labels = r.routines.create_cms_labels(pad=pad, layout="outside_horizontal",
postfix="" if paper else cms_postfix)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -1181,8 +1183,8 @@ def plot_nuisance_likelihood_scans(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=180))
# cms label
cms_labels = r.routines.create_cms_labels(pad=pad, layout="outside_horizontal",
postfix="" if paper else cms_postfix)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......
......@@ -242,7 +242,8 @@ def plot_limit_scan(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -486,8 +487,8 @@ def plot_limit_scans(
y_offset=y_offset))
# cms label
cms_labels = r.routines.create_cms_labels(layout="outside_horizontal", pad=pad,
postfix="" if paper else cms_postfix)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -816,7 +817,8 @@ def plot_limit_points(
draw_objs.append(legend)
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# energy label
......@@ -1064,7 +1066,8 @@ def plot_limit_scan_2d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -1223,7 +1226,8 @@ def plot_benchmark_limits(
draw_objs.append(legend)
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......
......@@ -184,7 +184,8 @@ def plot_significance_scan_1d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -350,8 +351,8 @@ def plot_significance_scans_1d(
y_offset=y_offset))
# cms label
cms_labels = r.routines.create_cms_labels(layout="outside_horizontal", pad=pad,
postfix="" if paper else cms_postfix)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......@@ -521,7 +522,8 @@ def plot_significance_scan_2d(
draw_objs.extend(create_model_parameters(model_parameters, pad, y_offset=100))
# cms label
cms_labels = r.routines.create_cms_labels(postfix="" if paper else cms_postfix, pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix="" if paper else cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# campaign label
......
......@@ -180,7 +180,8 @@ class PlotSignalEnhancement(HHModelTask, ParameterValuesTask, PlotTask):
draw_objs.insert(-1, legend_box)
# cms label
cms_labels = r.routines.create_cms_labels(postfix=cms_postfix, layout="inside_vertical", pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix=cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# model parameters
......
......@@ -142,7 +142,8 @@ class PlotMorphingScales(PlotTask, HHModelTask, ParameterScanTask, ParameterValu
draw_objs.append(model_label)
# cms label
cms_labels = r.routines.create_cms_labels(postfix=cms_postfix, layout="outside_horizontal", pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix=cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# draw all objects
......@@ -331,8 +332,8 @@ class PlotMorphedDiscriminant(PlotTask, DatacardTask, MultiHHModelTask, Paramete
draw_objs.append(legend)
# cms label
cms_labels = r.routines.create_cms_labels(postfix=cms_postfix, layout="outside_horizontal",
pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix=cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# bin label
......@@ -453,8 +454,8 @@ class PlotStatErrorScan(PlotMorphedDiscriminant, ParameterScanTask):
draw_objs.append(legend)
# cms label
cms_labels = r.routines.create_cms_labels(postfix=cms_postfix, layout="outside_horizontal",
pad=pad)
cms_labels = r.routines.create_cms_labels(pad=pad, postfix=cms_postfix,
layout="outside_horizontal")
draw_objs.extend(cms_labels)
# bin label
......
Markdown is supported
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