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

Force color tuple to contain native Python integer values #396

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

jgodfrey
Copy link
Collaborator

@jgodfrey jgodfrey commented Aug 1, 2024

Newer versions (?) of numpy retain the underlying numpy data types (np.uint8 in this case), which breaks the consuming code. Using tolist() forces the result to contain native Python integer values.

Newer versions (?) of numpy retain the underlying numpy data types
(np.uint8 in this case), which breaks the consuming code.
@jgodfrey jgodfrey merged commit 1bbc527 into dev Aug 2, 2024
6 checks passed
@jgodfrey jgodfrey deleted the Issue394 branch August 2, 2024 13:36
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.

1 participant