I want to try and put bounds on the heatmap and contour plot to have them only show data that is inside the drawn in circle. I would like to see if I could get it to work with both plots. Specifically, for heatmap plot is there a way to have the connectgaps set as true and then filter everything outside the circle? If there is no way to do with in plolty js please let me know if you know of other JS possible options
I was able to get this to work by using layout.shapes.type = βpathβ. then I set path to a string that was an approximation of the circle. In other words it was creating a long string using L.
1 Like