Closed
Description
Hello!
I cant seem to find any info on how many points can be stored in a sparkline.
When I try to add my 129th element to a sparkline i get the follow error:
Traceback (most recent call last): File "code.py", line 232, in <module> File "adafruit_display_shapes/sparkline.py", line 98, in add_value MemoryError: memory allocation failed, allocating 1024 bytes
I would at least want the size to be as many as my displaywidth, 320 on a PyPortal. Does Titano have more?
Can this be increased to say 1024 points? (If this indeed is the error)
Metadata
Metadata
Assignees
Labels
No labels