Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Crop scatter marker at plot edges

Hello community,

I am starting to learn Dash and, and I have a problem with a scatter plot above a contour plot. The contour plot is delimited by the domain (xmin, xmax), (ymin, ymax), and when one marker coordinate is either (xmin, xmax, ymin, ymax), the contour plot is shifted and an ugly line appears below the contour plot (see attached screenshot).

Is it possible to crop the markers that are at the edges to prevent the contour plot from shifting?

Thank you again for your help!!