<span class="p">(</span><span class="n">y_min</span><span class="p">)</span>
        <span class="n">y_max</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">log</span><span class="p">(</span><span class="n">y_max</span><span class="p">)</span>

    <span class="c1"># Perform a kernel density estimation (KDE)</span>
    <span class="n">xy</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">vstack</span><span class="p"