biolab / biolab/orange3

Heat Map: enable display of categorial variables

Open
#5,735 3 comments 0 reactions 0 assignees View on GitHub
feast wish
Dominant language
Python
Stars
5.7k
Forks
1.1k
Avg merge
12d 2h
Merged PRs (30d)
1

Description

**What's your use case?**

Social scientists often work with ordinal or binary variables, which are imported to Orange as discrete. It would be nice to enable the so-called _carpet plot_ in Heat Map - showing categorical variables with the color of the value as shown in other widgets.
![image](https://user-images.githubusercontent.com/12524972/145781537-388e51a2-e9f4-4488-bbd0-f3638e93a6a6.png)

**What's your proposed solution?**

Enable showing categorical variables in heat map.
Of course this would make it impossible to show a legend, so raise a warning saying "Legend not displayed for categorical variables". Perhaps we can think of a more elegant solution to this.

**Are there any alternative solutions?**
Have a new widget called Carpet Plot? But perhaps that's an overkill. Not sure.

Contributor guide

Open the contributing guide

Research direction

Start at the Heat Map widget entry point and trace how imported discrete variables are currently handled. Compare the behavior with the requested carpet plot and warning; done means categorical variables can be displayed and the legend warning is shown when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.