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

Bounds in heatmap #80

Closed
plaumiere opened this issue Jul 24, 2020 · 1 comment
Closed

Bounds in heatmap #80

plaumiere opened this issue Jul 24, 2020 · 1 comment

Comments

@plaumiere
Copy link

In heatmap I have observed that another bounds other than [0,1] is not allowing.
After checking the code this issue could be resolved by replacing the max bound set to 1 (for determining the y coordinate of p) by the max y bound as parameter in function RenderHeatmap().

Good job

@epezent
Copy link
Owner

epezent commented Jul 25, 2020

Thanks! It has been resolved, and the demo has been updated to show heatmap bounds in action: 0a3442f

p.y = bounds_max.y - (0.5*h + r*h);

@epezent epezent closed this as completed Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants