You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just checked why there is a > comparison instead of >=. The reason is pretty simple: The logarithm of 0 equals - infinity. Therefore this check is correct. Maybe a comment would be helpful to clarify this :).
in histogram_view.js
value > 0 ? (Math.log(value) / Math.log(maxValue)) * canvasHeight : 0
The text was updated successfully, but these errors were encountered: