h2oai / h2oai/wave

Set Static Values for Plot Key

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

Description

via @mtanco

### Discussed in https://github.com/h2oai/wave/discussions/1279

Originally posted by **mtanco** March 4, 2022
In a lot of data-display use cases there may be a possible minimum or maximum value for counts the dataset that never changes regardless of what specific data we are looking at. For example, in confusion matrix's each square in this polygon has a minimum possible value of 0 and a maximum possible value of the sum of the 4 squares. However, our slider for the `color` uses the minimum and maximum values of the current data.
![image](https://user-images.githubusercontent.com/4793561/156435726-879b3d16-cc39-4761-834b-70f07035e483.png)

This could be `color_value_min` and `color_value_max` values?

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating the plot key and color slider implementation, then trace how current data bounds are computed; done means static minimum and maximum values can be supplied for the color scale and are covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.