equinor / equinor/ert

Discuss and create unified way of setting colors in Ert and Everest

Open
#13,639 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Python
Stars
161
Forks
140
Avg merge
2d 1h
Merged PRs (30d)
138

Description

Ert uses `COLOR_INDEX`, this is to ensure consistent color assignment to an ensemble. Everest uses `PlotConfig.next_color()` as of now. This has lead to a subpar color assignment method in `ensemble_selection_widget` (https://github.com/equinor/ert/pull/13579).

We should take a look at how colors are assigned and see if we can simplify it/standardize it across Ert and Everest

Contributor guide

Open the contributing guide

Research direction

Compare Ert's COLOR_INDEX with Everest's PlotConfig.next_color(), then inspect how ensemble_selection_widget uses color assignment and review the referenced pull request 13579. Done means agreeing on and implementing one consistent color-assignment approach across Ert and Everest, with the widget no longer relying on the subpar method described.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.