Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: bar chart -> customize colors, labels are wrong #3511

Open
gweinberg opened this issue Sep 25, 2023 · 0 comments
Open

[Bug]: bar chart -> customize colors, labels are wrong #3511

gweinberg opened this issue Sep 25, 2023 · 0 comments
Labels

Comments

@gweinberg
Copy link

gweinberg commented Sep 25, 2023

Description

Bar chart -> select variable -> group by = select second variable, then "customize colors" apparently controls the colors of the levels of the first (primary) variable, but in the toolbox diaglog they're wrongly labeled by the levels of the second (group-by) variable.

For instance go to https://isle.stat.cmu.edu/36-200-fall23/heartdisease_project1/ -> toolbox -> plots -> bar chart -> counts -> select "complications" (which is a 0/1 categorical variable) -> group by -> select "gender".

The default plot is as follows:

image

If you go back to the bar chart dialog and select "customize colors," it indicates the levels of the group-by variable:

image

But "customize colors" evidently controls the levels of the main variable ("complications"), as proved by trying it:

image

Expected behavior

The "customize colors" lablels should be the levels of the main variable, not of the group-by variable.

To Reproduce

see above

Version

0.76.23

Link to ISLE lesson

see above

ISLE Code

No response

What browsers are you seeing the problem on?

Firefox

What browser version?

No response

Additional context

No response

@gweinberg gweinberg added the bug label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant