actives/tooltip-format-heatmap.html" />
<p class="caption">
FIGURE 25.4: Formatting the displayed <code>z</code> values in a heatmap using <code>zhoverformat</code>.
</p>
</div>
<p>It‚Äôs admittedly difficult to remember where to specify these <code>hoverformat</code> attributes, so if you want a combination of custom text and formatting of computed values you can use <code>hovertemplate</code>, which overrides <code>hoverinfo</code> and allows you to fully specify the tooltip in a single attribute. It 