h2oai / h2oai/wave

Plot group color is not binded to the group value

Open
#671 2 comments 0 reactions 0 assignees View on GitHub
plot question
Dominant language
Python
Stars
4.3k
Forks
371
Avg merge
26d 1h
Merged PRs (30d)
1

Description

#### Wave SDK Version, OS

wave 0.12.1, Linux

#### Actual behavior

When using ui.plot([... color='=product', ...]), a different color is assigned to different values of the "product" column of the data. However, the same product value can get a different color assignment (probably it depends on the sequence in which the values are in the data). So there is no way to map a "product" value to a color.

#### Expected behavior

If it works as designed, then we should move it from bugs to improvements.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.