summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-12-01 13:55:43 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-12-01 13:55:43 +0100
commitf86cbb358b9dc26099bbb8846edfcb4a1d3212a0 (patch)
treec9bd4d3a00c303bd150ab30a09225f44445a0e66 /lib
parentd88766b15c82f35b977e3313090fe4c061db2173 (diff)
boxplot: show number of measurements in title
Diffstat (limited to 'lib')
-rwxr-xr-xlib/plotter.py2
1 files changed, 1 insertions, 1 deletions
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)