Skip to content

Fixed off by one error with horizontal and vertical lines #23

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

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

makermelissa
Copy link
Collaborator

This became apparent when using the polygon function. Due to the way Range works, it was chopping off the last values.

@makermelissa makermelissa requested a review from a team August 5, 2020 16:13
@jedgarpark
Copy link

works great, now the coordinate points act as expected.

@makermelissa
Copy link
Collaborator Author

I just tested that this does not affect sparkline negatively because it is rarely using horizontal and vertical lines and diagonal lines were working as expected..

@jedgarpark jedgarpark merged commit c6fe417 into adafruit:master Aug 5, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 6, 2020
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

Successfully merging this pull request may close these issues.

2 participants