Skip to content

Improve the auto-selection of trace colours in plots with multiple runs and multiple traces #410

@nickerso

Description

@nickerso

As shown in this screenshot, when looking at plots with multiple traces and multiple runs, the auto-selected colours overlap leading to confusion. While this is always an issue in plotting tools, I'd expect to be able to have more than 6 lines on a graph before I start seeing duplicate colours. Especially as the overlap is offset so that the duplicate colours are not the same variable across runs.

Image

I would expect that if there are sufficient colours available, each run should have distinct traces with no overlap. I can get such a plot by manually tweaking the "run colour"

Image

If there are sufficient traces or runs such that a set of traces for a given run can not have unique colours, then I think it would be least confusing to reset and ensure that the new run has the same colour for each trace. I demonstrate that in this artificial example:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions