Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Counting pixels under a curve to find area

Good morning –
I’m a new user, who has constructed a curve from data that bound an area. I’ve used Riemann sums from the data and it comes pleasing close to the value of ø. Is there a simple way to find the area by pixel count for a better estimate?
Thanks for reading and contemplating.