lass="sourceCode r"><code class="sourceCode r"><span id="cb214-1"><a href="controlling-tooltips.html#cb214-1"></a><span class="kw">plot_ly</span>(<span class="dt">z =</span> <span class="op">~</span>volcano) <span class="op">%&gt;%</span></span>
<span id="cb214-2"><a href="controlling-tooltips.html#cb214-2"></a><span class="st">  </span><span class="kw">add_heatmap</span>(<span class="dt">zhoverformat =</span> <span class="st">&quot;.1f&quot;</span>) <span class="op">%&gt;%</span></span>
<span id="cb214-3">