Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range in push_pixels #31

Open
dakhnod opened this issue Nov 6, 2024 · 0 comments
Open

IndexError: list index out of range in push_pixels #31

dakhnod opened this issue Nov 6, 2024 · 0 comments

Comments

@dakhnod
Copy link

dakhnod commented Nov 6, 2024

When running heatmap.py on the attached file I get this error:

loading
x: 6000, y: 38, z: (-103.960000, -8.680000)
drawing
Traceback (most recent call last):
  File "/home/daniel/Projects/hackrf/heatmap.py", line 618, in <module>
    img = push_pixels(args)
  File "/home/daniel/Projects/hackrf/heatmap.py", line 420, in push_pixels
    pix[x,y+tape_height+1] = rgb(zs[x])
  File "/home/daniel/Projects/hackrf/heatmap.py", line 360, in rgb_inner
    return palette[tone_scaled]
IndexError: list index out of range

Thanks for your work!
test.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant