ader-section-number">25.1</span> <code>plot_ly()</code> tooltips</h2>
<p>There are two main approaches to controlling the tooltip: <code>hoverinfo</code> and <code>hovertemplate</code>. I suggest starting with the former approach since it‚Äôs simpler, more mature, and enjoys universal support across trace types. On the other hand, <code>hovertemplate</code> does offer a convenient approach for flexible control over tooltip text, so it can be useful as well.</p>
<p>The <code>hoverinfo</code> attribute co