From c06e700471255b250c61a70f4629b925630ed3a5 Mon Sep 17 00:00:00 2001 From: Deepanshi Date: Thu, 18 Jan 2024 16:54:56 -0500 Subject: [PATCH] ecg gen: ROI bbox bug fix --- codes/ecg-image-generator/ecg_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/ecg-image-generator/ecg_plot.py b/codes/ecg-image-generator/ecg_plot.py index fe3980d..c55a3ca 100644 --- a/codes/ecg-image-generator/ecg_plot.py +++ b/codes/ecg-image-generator/ecg_plot.py @@ -379,7 +379,7 @@ def ecg_plot( y1 = bb.y0*resolution/fig.dpi x2 = bb.x1*resolution/fig.dpi y2 = bb.y1*resolution/fig.dpi - text_bbox.append([x1, y1, x2, y2, leadName]) + text_bbox.append([x1, y1, x2, y2, full_mode]) if(show_dc_pulse):