︎</a></p></li>
<li id="fn4"><p>A trace is similar in concept to a layer (as defined in Section <a href="overview.html#intro-plotly">2.1</a>, but it’s not quite the same. In many cases, like the bottom panel of Figure <a href="overview.html#fig:intro-defaults">2.1</a>, it makes sense to implement a single layer as multiple traces. This is due to the design of plotly.js and how traces are tied to legends and hover behavior.<a href="overview.html#fnref4" class="footnote-back">↩︎</a></p></li>
<li id="fn