pan class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">smoothing_and_maps</span><span class="p">(</span><span class="n">n</span><span class="p">)</span>
        <span class="k">return</span> <span class="n">M_n</span></div>


    <span class="c1">#------------------------------#</span>
    <span class="c1"># Functions for computing thickening distance matrix</span>
    <span class="c1">#------------------------------#</span>
<div class="viewcode-block" id="MapperGraph.thi