y</span><span class="p">(</span><span class="n">selected_spectrum</span><span class="p">)</span>
</pre></div>
</div>
<p>We can now visualise the peaks in the spectrum.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">_</span> <span class="o">=</span> <span class="n">ramanspy</span><span class="o">.</span><span class="n">plot</span><span class="o">.</span><span class="n">peaks</span><span class="p">(</span><span class="n">preprocessed_spectrum</span><spa