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

Throw explicit error if no messages in filtered year for heatmap #79

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

joweich
Copy link
Owner

@joweich joweich commented Jan 15, 2023

This PR introduces an explicit error if the dataframe would be empty after filtering on the year.
Before, we did not catch this case. An error (ValueError: cannot convert float NaN to integer) was only thrown when setting the colorbar.

@joweich joweich merged commit a7e9d8c into main Jan 15, 2023
@joweich joweich deleted the fix/heatmap-null-filter branch January 15, 2023 15:11
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.

None yet

1 participant