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

Detect plots outside of predefined range

Basically I have ranges that I have predefined for streaming 6 values. Is there anyway to detect that a point has been plotted outside the ranges?

There’s no easy way. Given layout.xaxis.range and layout.yaxis.range, you’ll have to loop through your x and y coordinates to determine which of them are within the axis ranges.