Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Heatmap issue with large numbers

I have noticed a weird behavior of plotly when working with heatmaps. When looking at the tooltip it shows “5.2345undefined” instead of the value 52,345.
You can see what I mean here:

What am I doing wrong? I have tried passing the numbers as strings but that didn’t fix it.

This bug was fixed in https://github.com/plotly/plotly.js/pull/2422. That patch will be part of the next plotly.js release 1.35.0.