an> <span class="n">x_min</span><span class="p">)</span> <span class="o">&amp;</span> <span class="p">(</span><span class="n">x_array</span> <span class="o">&lt;=</span> <span class="n">x_max</span><span class="p">)]</span>
        <span class="n">y_array</span> <span class="o">=</span> <span class="n">y_array</span><span class="p">[(</span><span class="n">y_array</span> <span class="o">&gt;=</span> <span class="n">y_min</span><span class="p">)</span> <span class="o">&amp;</span> <span class="p">(</span><sp