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

Improve error message for categorical data when used with datashade #5643

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Mar 7, 2023

Add an error message for categorical data using operations like datashade. Before this PR, an error would be raised when running np.isfinite.

@codecov-commenter
Copy link

codecov-commenter commented Mar 7, 2023

Codecov Report

Merging #5643 (2535c0f) into main (b1414e9) will decrease coverage by 0.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #5643      +/-   ##
==========================================
- Coverage   88.26%   88.26%   -0.01%     
==========================================
  Files         302      302              
  Lines       62517    62521       +4     
==========================================
+ Hits        55181    55182       +1     
- Misses       7336     7339       +3     
Impacted Files Coverage Δ
holoviews/operation/datashader.py 83.78% <66.66%> (-0.21%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hoxbro hoxbro changed the title Add error message for categorical data when used with datashade Improve error message for categorical data when used with datashade Mar 7, 2023
@hoxbro hoxbro merged commit f4c4306 into main Mar 7, 2023
@hoxbro hoxbro deleted the error_message_cat branch March 7, 2023 14:29
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