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 Plot.ly community,

I am starting to learn Dash and Plot.ly, 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!!

https://img4.hostingpics.net/pics/162934plotly.png