diff --git a/src/utils/base/__pycache__/base.cpython-310.pyc b/src/utils/base/__pycache__/base.cpython-310.pyc index 5e849e1..ae58136 100644 Binary files a/src/utils/base/__pycache__/base.cpython-310.pyc and b/src/utils/base/__pycache__/base.cpython-310.pyc differ diff --git a/src/utils/base/base.py b/src/utils/base/base.py index 54bb002..cf016df 100644 --- a/src/utils/base/base.py +++ b/src/utils/base/base.py @@ -254,7 +254,7 @@ class BasePlotWidget: x_downsampled, y_downsampled = self._downsample_data(x, y, max_points=1000) navigator.plot(x_downsampled, y_downsampled, pen=signal["pen"], name=signal["name"]) - ROI_region = pg.LinearRegionItem(values=time_region, movable=True, brush=pg.mkBrush(0, 0, 255, 100)) + ROI_region = pg.LinearRegionItem(values=time_region, movable=True, brush=pg.mkBrush(0, 0, 255, 100), pen=pg.mkPen(width=4)) ROI_region.setBounds([0, x.iloc[-1]]) navigator.addItem(ROI_region) navigator.getPlotItem().getViewBox().setLimits(xMin=0, xMax=x.iloc[-1])