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

ui.table formatting background_color heatmap #986

Open
mattrunyon opened this issue Nov 4, 2024 · 1 comment
Open

ui.table formatting background_color heatmap #986

mattrunyon opened this issue Nov 4, 2024 · 1 comment
Labels
deephaven.ui enhancement New feature or request
Milestone

Comments

@mattrunyon
Copy link
Collaborator

Support describing a column background_color as a heatmap. Probably use a dataclass passed to background_color.

We should offer auto max/min, users should be able to specify colorstops (e.g. "I want 0 to always be white"), users should be able to specify explicit max/min or columns as max/min. Basically very similar API to databar, but for heatmap.

@dsmmcken
Copy link
Contributor

dsmmcken commented Nov 4, 2024

I get the argument for passing it to background_color, but I envisioned it more like databar which would be a mode.

I think it's important the client does the color interpolation in oklab space, and needs to accept multiple colors as an it's range.

It should also have good set of defaults like databar where simply passing mode="heatmap" or whatever automatically has a pretty gradient, auto min/auto max behaviour.

I don't know if it makes sense but it could be something set on text instead of background?

@vbabich vbabich added this to the December 2024 milestone Nov 5, 2024
@vbabich vbabich removed the triage label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deephaven.ui enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants