ass="s2">&quot;mark_groups&quot;</span> <span class="ow">in</span> <span class="n">kwds</span><span class="p">:</span>
            <span class="n">mark_groups</span> <span class="o">=</span> <span class="n">kwds</span><span class="p">[</span><span class="s2">&quot;mark_groups&quot;</span><span class="p">]</span>

            <span class="c1"># Deferred import to avoid a cycle in the import graph</span>
            <span class="kn">from</span> <span class="nn">igraph.clustering</span> <span class="kn">import