de>text</code> aesthetic to replace an auto-generated aesthetic (<code>y</code>).
</p>
</div>
<p>The approach depicted in Figure <a href="controlling-tooltips.html#fig:text-clever">25.9</a> works for computed values that pertain to raw data values, but what about sophisticated formatting of a summary statistics generated by <strong>ggplot2</strong>? In this case, you‚Äôll have to use the return value of <code>ggplotly()</code> which, remember, is a <strong>plotly</strong> object that conforms to the plo