The following works for scatter plot where you can see %{text} is being populated from the provided text:
<head>
<!-- Load plotly.js into the DOM -->
<script src='https://cdn.plot.ly/plotly-2.24.1.min.js'></script>
</head>
<body>
<div id='myDiv'><!-- Plotly chart will be drawn inside this DIV --></div>
</body>
The following works for scatter plot where you can see %{text} is being populated from the provided text:
But the same doesn't work you generate a heatmap (the code is the same, except changed the type to heatmap):
Would really appreciate some help on this.