Custom contour levels for a contour plot

Hi @Nivhawk,

Custom contour levels aren’t supported right now. See Choose levels for the coutours in the contour plot.

If you’re ok with line contours (as opposed to solid filled contours), It wouldn’t be too complicated to achieve this using scatter traces with mode='lines', where the line coordinates are computed by a series of calls to the scikit-image measure.find_contours function, one call per contour level that you want.

Hope that helps,

-Jon

1 Like