changeset 305:a7bdc583e622

Show detection threshold on plot in main
author Amine Sehili <amine.sehili@gmail.com>
date Thu, 10 Oct 2019 20:43:07 +0200
parents 7d0f2e18add4
children de1afab6a4e5
files auditok/cmdline.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/auditok/cmdline.py	Thu Oct 10 20:37:40 2019 +0200
+++ b/auditok/cmdline.py	Thu Oct 10 20:43:07 2019 +0200
@@ -411,6 +411,7 @@
                 plot(
                     record,
                     detections=detections,
+                    energy_threshold=args.energy_threshold,
                     show=True,
                     save_as=args.save_image,
                 )