class="n">proj</span> <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">proj</span><span class="p">,</span> <span class="n">Proj</span><span class="p">)</span> <span class="k">else</span> <span class="n">Proj</span><span class="p">(</span><span class="n">proj</span><span class="p">,</span> <span class="n">preserve_units</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
        <span class="n">proj_bounds</span> <span class="