ass="p">()</span>
        <span class="n">newfig</span> <span class="o">=</span> <span class="kc">True</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">fig</span> <span class="o">=</span> <span class="n">plt</span><span class="o">.</span><span class="n">gcf</span><span class="p">()</span>
        <span class="n">newfig</span> <span class="o">=</span> <span class="kc">False</span>
    <span class="n">rect</span> <span class="o">=</span> <span class="p">[</span><span clas