play the text aesthetic." width="100%" data-url="/interactives/ggplotly-text-tooltip.html" />
<p class="caption">
FIGURE 25.7: Using the <code>tooltip</code> argument in <code>ggplotly()</code> to only display the <code>text</code> aesthetic.
</p>
</div>
<p>When constructing the text to display, <code>ggplotly()</code> runs <code>format()</code> on the computed values. Since some parameters of the <code>format()</code> function can be controlled through global <code>options()</code>, you can use these <code