From 1703fee1e7b7540c445c5ea50f3e607827f891a6 Mon Sep 17 00:00:00 2001 From: Robert White Date: Tue, 1 Dec 2020 16:11:33 +0000 Subject: [PATCH] Added MC stat. label to top plot --- fast_plotter/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast_plotter/plotting.py b/fast_plotter/plotting.py index 5594caa..0df9ec9 100644 --- a/fast_plotter/plotting.py +++ b/fast_plotter/plotting.py @@ -201,7 +201,7 @@ def actually_plot(df, x_axis, y, yerr, kind, label, ax, dataset_col="dataset", y_down = (summed[y] - summed[yerr]).values y_up = (summed[y] + summed[yerr]).values draw(ax, "fill_between", x, ys=["y1", "y2"], y2=y_down, y1=y_up, - color="gray", alpha=0.7, expected_xs=expected_xs) + color="gray", alpha=0.7, expected_xs=expected_xs, label="MC stat.") else: raise RuntimeError("Unknown value for 'kind', '{}'".format(kind))