✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Axis limit when panning

I’m using the Heatmap graph and would like to limit the axis range when the user attempts to pan the graph into negative axis ranges on both the X and Y axis. I currently set the range to 0 to 100 for example and when the user would pan to show negative ranges I would like to either prevent it or snap it back. I’ve tried intercepting the range from the layout property and setting the state but it does not seem to be working reliably. I was wondering if this feature was already built into the api.