We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d3a19 commit 268a2bfCopy full SHA for 268a2bf
applications/heartbeat_ecg.py
@@ -59,9 +59,9 @@ def __init__(self):
59
60
# Set y-axis limits based on sampling rate
61
if self.sampling_rate == 250:
62
- self.plot_widget.setYRange(-2**10, 2**10) # for R3
+ self.plot_widget.setYRange(0, 2**10) # for R3
63
elif self.sampling_rate == 500:
64
- self.plot_widget.setYRange(-2**14, 2**14) # for R4
+ self.plot_widget.setYRange(0, 2**14) # for R4
65
66
# Set fixed x-axis range
67
self.plot_widget.setXRange(0, 10) # 10 seconds
0 commit comments