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

Colormap not scaled to min/max of number of people that are available #311

Open
drinkablebreeze opened this issue Dec 7, 2023 · 0 comments · May be fixed by #313
Open

Colormap not scaled to min/max of number of people that are available #311

drinkablebreeze opened this issue Dec 7, 2023 · 0 comments · May be fixed by #313
Labels
bug Something isn't working

Comments

@drinkablebreeze
Copy link

drinkablebreeze commented Dec 7, 2023

The AvailabilityViewer's colormap has its limits set at 0 and n, when it should be the minimum/maximum number of people that are available for any time slot. This is easiest to see on an example with lots of responses, where no times have all people unavailable or available. The colormap ends up being low-contrast, since it's not scaled to the true min and max of the data.

I believe this is because calculateAvailability sets the initial value of min and max to 0 and n respectively, when it should be the other way around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant