Code r"><code class="sourceCode r"><span id="cb220-1"><a href="controlling-tooltips.html#cb220-1"></a><span class="co"># Add a smooth to the previous figure and convert to plotly</span></span>
<span id="cb220-2"><a href="controlling-tooltips.html#cb220-2"></a>w &lt;-<span class="st"> </span><span class="kw">ggplotly</span>(p <span class="op">+</span><span class="st"> </span><span class="kw">geom_smooth</span>(<span class="dt">se =</span> <span class="ot">FALSE</span>))</span>
<span id="cb220-3"><a href="con