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

Clabel for contours?

Is there any way to show the contour line value in plotly? Something similar to clabel in matlab?

It would be great to either display the values inline, or show the value on hover. Something like:

thanks

Not at the moment unfortunately.

You’ll have to use layout.annotations to accomplish this task.

Have you solved this problem?

Yes! See https://plot.ly/python/contour-plots/#contour-line-labels

Or for javascript https://plot.ly/javascript/contour-plots/#contour-line-labels

Hi Emmanuelle,

Thank you!