MetaCell / MetaCell/nwb-explorer

Deterministic colours for Plot all

Open
#216 4 comments 0 reactions 0 assignees View on GitHub
PRIORITY: Medium
Dominant language
JavaScript
Stars
27
Forks
16
PR merge metrics
No merged PRs in 30d

Description

A minor cosmetic thing, but might be good for data presentation. Can the sequence of colors used when plotting multiple graphs be deterministic, i.e. the same sequence of colours are used for each Plot all call? Assuming of course that a timeseries hasn't already been plotted and assigned a color.
That would make plots like this easier to interpret, i.e. matched colors for injected current 1 & membrane potentail 1, etc.
Screenshot 2020-10-23 at 09 56 47

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Plot all entry point and the code that assigns colours to plotted time series. Verify repeated Plot all calls use the same colour sequence while preserving colours already assigned to previously plotted time series.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.