From 7054ce758a1f2e37f08c1f7d56dd861c83176675 Mon Sep 17 00:00:00 2001 From: Mathis Frahm Date: Fri, 24 Jan 2025 14:59:21 +0100 Subject: [PATCH] fix renamed plot util function --- hbw/plotting/s_over_b.py | 2 +- hbw/tasks/postfit_plots.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hbw/plotting/s_over_b.py b/hbw/plotting/s_over_b.py index 240d3485..2ce1ce80 100644 --- a/hbw/plotting/s_over_b.py +++ b/hbw/plotting/s_over_b.py @@ -13,7 +13,7 @@ from columnflow.util import maybe_import from columnflow.plotting.plot_all import plot_all from columnflow.plotting.plot_util import ( - # prepare_plot_config, + # prepare_stack_plot_config, prepare_style_config, remove_residual_axis, apply_variable_settings, diff --git a/hbw/tasks/postfit_plots.py b/hbw/tasks/postfit_plots.py index 9df3745a..b1361231 100644 --- a/hbw/tasks/postfit_plots.py +++ b/hbw/tasks/postfit_plots.py @@ -65,7 +65,7 @@ def load_hists_uproot(fit_diagnostics_path): from columnflow.plotting.plot_all import plot_all from columnflow.plotting.plot_util import ( - prepare_plot_config, + prepare_stack_plot_config, prepare_style_config, ) @@ -86,7 +86,7 @@ def plot_postfit_shapes( ) -> tuple(plt.Figure, tuple(plt.Axes)): variable_inst = law.util.make_tuple(variable_insts)[0] - plot_config = prepare_plot_config( + plot_config = prepare_stack_plot_config( hists, shape_norm=shape_norm, hide_errors=hide_errors,