sepal-contrib / sdg_15.3.1

monitor SDG indicators at plot level
MIT License
3 stars 3 forks source link

problem with legend #69

Closed 12rambau closed 2 years ago

12rambau commented 2 years ago

The legend we are using is not color-blind friendly and lack contrast: "degraded" and "stable" are super close. @i-m-amit is there any reasn why we are using this specific one ?

The legend should be exported as a pdf to help people use our maps

i-m-amit commented 2 years ago

There is no such reason. we cloud change it to a suitable colour-blind and print friendly colour scheme . Here are some examples of such colour schemes:

image

['#e9a3c9','#f7f7f7','#a1d76a']

image

['#d8b365','#f5f5f5','#5ab4ac']

image

['#ef8a62','#f7f7f7','#67a9cf']

12rambau commented 2 years ago

I really like the las one !

12rambau commented 2 years ago

I ended up using this one:

Capture d’écran 2021-10-21 à 12 39 58

So that I can use the same color in the generated graph pdf (the light grey was perfectly invisible on a white background

12rambau commented 2 years ago

I still need to reexport the legends in pdf