 those will collapse down to a single vertex in the Reeb graph</span>
        <span class="n">new_val_locs</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">where</span><span class="p">(</span><span class="mi">1</span><span class="o">-</span><span class="n">np</span><span class="o">.</span><span class="n">isclose</span><span class="p">(</span><span class="n">g_vert_list</span><span class="p">[:</span><span class="o">-</span><span class="mi">1</span><span class=