Skip to content

Commit aec1608

Browse files
committed
fix off by one
1 parent af97950 commit aec1608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MagTag_Tides/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def get_tide_data():
164164
raw_data = magtag.fetch()
165165

166166
# Results will be stored in a list that is PLOT_WIDTH long
167-
new_tide_data = [PLOT_HEIGHT] * PLOT_WIDTH
167+
new_tide_data = [PLOT_HEIGHT - 1] * PLOT_WIDTH
168168

169169
# Convert raw data to display coordinates
170170
for data in raw_data:

0 commit comments

Comments
 (0)