ut_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">sp</span><span class="o">.</span><span class="n">tl</span><span class="o">.</span><span class="n">domain_from_local_moran</span><span class="p">(</span>
    <span class="n">adata</span><span class="p">,</span>
    <span class="n">score_key</span><span class="o">=</span><span class="s1">&#39;TLS&#39;</span><span class="p">,</span>
    <span class="n">spatial_lag_filter</span><span class="o">=</span><span class