From f86cbb358b9dc26099bbb8846edfcb4a1d3212a0 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 1 Dec 2023 13:55:43 +0100 Subject: boxplot: show number of measurements in title --- lib/plotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plotter.py b/lib/plotter.py index 78f3f90..2508676 100755 --- a/lib/plotter.py +++ b/lib/plotter.py @@ -332,7 +332,7 @@ def plot_param_fit( def boxplot(ticks, measurements, xlabel="", ylabel="", modeldata=None, output=None): fig, ax1 = plt.subplots(figsize=(10, 6)) - ax1.set_title("dfatool unparam") + ax1.set_title(f"dfatool unparam (n={len(measurements[0])})") plt.subplots_adjust(left=0.1, right=0.95, top=0.95, bottom=0.1) bp = plt.boxplot(measurements, notch=0, sym="+", vert=1, whis=1.5) -- cgit v1.2.3