Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use colorblind friendly palette #288

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test_docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker-compose build --no-cache
run: docker compose build --no-cache

13 changes: 6 additions & 7 deletions app/plot_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
# general configuration variables for plotting
plot_width = 840

plot_color_blue = '#2877a2' # or: #3539e0
plot_color_red = '#e0212d'
plot_color_blue = '#56b4e9'
plot_color_red = '#d55e00'

plot_config = {
'maps_line_color': plot_color_blue,
Expand All @@ -66,13 +66,12 @@
},
}

colors3 = [plot_color_red, '#208900', plot_color_blue]
colors2 = [colors3[0], colors3[1]] # for data to express: 'what it is' and 'what it should be'
colors8 = [colors3[0], colors3[1], colors3[2], '#333333', '#999999', '#e58C33',
'#33e5e5', '#e533e5']
colors8 = ['#d55e00','#009e73','#55b4e9','#000000','#e69f00','#0072b2','#cc79a7','#f0e442']
colors3 = [colors8[0], colors8[1], colors8[2]]
colors2 = [colors8[0], colors8[1]] # for data to express: 'what it is' and 'what it should be'
color_gray = '#464646'

plot_config['mission_setpoint_color'] = colors8[5]
plot_config['mission_setpoint_color'] = colors8[6]


def get_domain_name():
Expand Down
Loading