From b91e7dab2e66129875066bb01301e8eb834f3c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 6 Aug 2024 11:34:57 +0200 Subject: [PATCH] config: use colorblind friendly palette --- app/plot_app/config.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/plot_app/config.py b/app/plot_app/config.py index 28fc1aca1..fa28de28e 100644 --- a/app/plot_app/config.py +++ b/app/plot_app/config.py @@ -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, @@ -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():