Black Lives Matter. Please consider donating to Black Girls Code today.

Possible bug: Intersecting contours

I’m playing with heat/contour maps and seeing some strange behavior:

AFAIK contour lines should never cross in the way they do in the lower left.

Here’s the plot and data.

JFYI, this data is basically a CDF of a 2-dimensional distribution (i.e. dz/dx and dz/dy are always <= 0); which means there shouldn’t be any complicated shapes (e.g. “islands”) in the contours, and indeed plot.ly seems to get them mostly correct, so the intersections might just be artifacts from whatever (quadratic bezier?) smoothing is happening.

lmk if more info would be useful or if there’s a better place to post apparent issues like this.

Well. That indeed looks like a bug.

Would you mind if we use your data to post a bug report on our official public bug tracker ?

Hi, sorry I didn’t respond here, yes you can use my data here to help debug, thanks!

@ryan Thanks. You can now track the issue here: https://github.com/plotly/plotly.js/issues/641