pan class="n">n_angles</span>
    <span class="bp">self</span><span class="o">.</span><span class="n">black_border_size</span> <span class="o">=</span> <span class="n">black_border_size</span>

    <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">dx_min</span> <span class="o">&lt;</span> <span class="o">-</span><span class="mi">1</span> <span class="ow">or</span> <span class="bp">self</span><span class="o">.</span><span class="n">dy_min</span> <span class="o">&lt