icker</span><span
            class="o">.</span><span class="n">MaxNLocator</span><span class="p">(</span><span class="mi">6</span><span
            class="p">))</span>

    <span class="n">ticks_loc</span> <span class="o">=</span> <span class="n">ax</span><span class="o">.</span><span
            class="n">get_yticks</span><span class="p">()</span><span class="o">.</span><span
            class="n">tolist</span><span class="p">()</span>
    <span class="n">ax</span><span class="o">.</span><span class="n">y