diff --git a/rdstar/offline_analysis/fitting/dedicated_fit_approach/plotting_tools.py b/rdstar/offline_analysis/fitting/dedicated_fit_approach/plotting_tools.py index 716b8bd932210c375dfe729d57cb56903d0d4c6f..a15643663ad88dc19535ba6d699921da9d39c844 100644 --- a/rdstar/offline_analysis/fitting/dedicated_fit_approach/plotting_tools.py +++ b/rdstar/offline_analysis/fitting/dedicated_fit_approach/plotting_tools.py @@ -618,6 +618,11 @@ class SystematicsShapePlotter: shape_plot_info=_shape_plot_info, ) + # TODO: Fix problem that is caused by histogram starting at y = 0.0 + # TODO: Add plot title + # TODO: Add x axis label + # TODO: Add y axis label + _shape_plot_infos.append(_shape_plot_info) return SpecificShapePlotInfoContainer(shape_plot_infos=tuple(_shape_plot_infos)) @@ -632,8 +637,8 @@ class SystematicsShapePlotter: bin_edges: np.ndarray = np.arange(shape_plot_info.shape_error.shape[0] + 1) - 0.5 bin_mids: np.ndarray = (bin_edges[1:] + bin_edges[:-1]) / 2.0 - up_sys: np.ndarray = 1.0 + shape_plot_info.shape_error - down_sys: np.ndarray = 1.0 - shape_plot_info.shape_error + up_sys: np.ndarray = +1.0 * shape_plot_info.shape_error + down_sys: np.ndarray = -1.0 * shape_plot_info.shape_error hist_plot_infos: List[Tuple[str, np.ndarray, str]] = [ (KITColors.kit_blue, up_sys, "Up/Nom"),