inbo / alien-species-portal

Portal for alien and invasive species indicators
MIT License
0 stars 0 forks source link

1x1 UTM squares hard to distinguish #58

Closed SanderDevisscher closed 11 months ago

SanderDevisscher commented 12 months ago

Is your feature request related to a problem? Please describe. Currently the 1x1km squares on the species information observations map are green. Especially when you activate the globe these are very hard to distinguish.

Describe the solution you'd like I would like to see them in another color with contrasts enough from the background map. I would say red but this gives issues for our color impaired users. suggestions are welcome.

Current version (Lithobates catesbeianus): image

mvarewyck commented 11 months ago

It's currently based on the order in the inbo_palette()

(1) I can exclude the first two (green and blue) colors for this plot, so it starts with 'orange'.

Screenshot from 2023-10-11 14-30-24

(2) I can exclude the first four colors, so it starts with dark purple

Screenshot from 2023-10-11 14-32-40

(3) I can hard-code red squares

Screenshot from 2023-10-11 14-36-00

@SanderDevisscher preference?

SanderDevisscher commented 11 months ago

@ThomasScheppers @Fhuysent can I borrow your colorblindness ? can you please give your preference ?

Fhuysent commented 11 months ago

Given the choice between those three, I prefer the red (option 3). Purple is also OK, but not very nice I think. Orange is difficult to see for colorblinds.

SanderDevisscher commented 11 months ago

personally I would go for red also

mvarewyck commented 11 months ago

Is it fine to add red as the first color for the other plots too relying on this piece of code?

Screenshot from 2023-10-11 16-49-57

SanderDevisscher commented 11 months ago

@Fhuysent what do you think ?

Fhuysent commented 11 months ago

Yes, looks great! Red and green can be somewhat tricky to use next to each other, but these are different enough for even colorblinds.

SanderDevisscher commented 11 months ago

@mvarewyck go ahead

mvarewyck commented 11 months ago

@Fhuysent Is the blue color also a good option? See here: https://github.com/inbo/alien-species-portal/issues/50#issuecomment-1766273914