Skip to content

Corrected typing to allow the color arguments to also take a Tuple #176

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 2 commits into from
Oct 14, 2022
Merged

Corrected typing to allow the color arguments to also take a Tuple #176

merged 2 commits into from
Oct 14, 2022

Conversation

isacben
Copy link
Contributor

@isacben isacben commented Oct 12, 2022

Hi,

This PR solves Label can take Tuple[int, int, int] for color #175

Both parameters, color and backgrount_color can take either an int or a Tuple[int, int, int].

I tested label and bitmap_label with the Adafruit Feather RP2040 and the ST7789 display.

Please let me know if you have any comments!
Thanks!

Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for following up on this!

@tekktrik tekktrik merged commit 6cf9f3c into adafruit:main Oct 14, 2022
@isacben
Copy link
Contributor Author

isacben commented Oct 14, 2022

Thank you! :)

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 14, 2022
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