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

avoid error if only one class present in result #208

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

jdegerickx
Copy link
Contributor

upon testing visualization, I ran into an error when there is only one class in the raster.
This fixes the issue.
Also tested with multi-class crop type output and seems to work fine.

@jdegerickx jdegerickx merged commit b07674f into main Oct 22, 2024
4 checks passed
@jdegerickx jdegerickx deleted the fix-visualization branch October 22, 2024 08:22
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