span
            class="ow">in</span> <span class="n">ticks_loc</span><span class="p">],</span> <span
            class="n">color</span><span class="o">=</span><span class="s1">&#39;#476b6b&#39;</span><span
            class="p">,</span> <span class="n">fontsize</span><span class="o">=</span><span
            class="n">fontsize</span><span class="p">)</span>

    <span class="k">if</span> <span class="n">legend</span><span class="p">:</span>
        <span class="n">handles</span> <span class="o">=</span> <s