p">)</span></span>
<span></span>
<span><span class="co"># S3 method for stars</span></span>
<span><span class="fu">spatial_snapshots</span><span class="op">(</span></span>
<span>  <span class="va">x</span>,</span>
<span>  xlab <span class="op">=</span> <span class="st">"x"</span>,</span>
<span>  ylab <span class="op">=</span> <span class="st">"y"</span>,</span>
<span>  title <span class="op">=</span> <span class="st">""</span>,</span>
<span>  palette <span class="op">=</span> <span class="st">"Spectral"</sp