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:


Not at the moment unfortunately.

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

Have you solved this problem?

Yes! See

Or for javascript

Hi Emmanuelle,

Thank you!