jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Feature Request]: Invert Correlation Color Scheme on Heatmap #2958

Open Turius opened 1 month ago

Turius commented 1 month ago

Description

Most people would associate red with positive and blue with negative. However, the current color scheme for correlation heat maps is inverted

Purpose

Improve readability and better adhere to standards

Use-case

Correlation heatmaps

Is your feature request related to a problem?

Inverted color scheme on heatmaps

Is your feature request related to a JASP module?

Regression

Describe the solution you would like

Heat maps should allow selecting colorschemes, or the color scheme should be inverted (red positive, blue negative)

Describe alternatives that you have considered

No response

Additional context

No response

JohnnyDoorn commented 1 month ago

Hi @Turius,

There might be some cultural differences at play here, because I would think that most people (here in the Netherlands) would associate red with negative and blue with positive - could that be the case?

Kind regards, Johnny

Turius commented 1 month ago

Hi @JohnnyDoorn,

Thank you for taking a look into this. It might be a cultural difference, but the native R function heatmap() also has an inverted color scheme in comparison to Jasp. default-1 I guess that the Jasp code has a custom color scheme hard coded in? Perhaps different colorschemes could be chosen for heatmap, similarly than what currently coded for the "Descriptive" module?

tomtomme commented 1 month ago

I would also vote for a dropdown to be able to change the color scheme while sticking to the current one as default. This must clearly be a cultural thing and we want to be inclusive here.