pan class="o">==</span> <span class="mi">0</span><span class="p">:</span>
        <span class="n">delay</span> <span class="o">=</span> <span class="mi">1</span>

    <span class="k">if</span> <span class="n">plotting</span> <span class="o">==</span> <span class="kc">True</span><span class="p">:</span>
        <span class="n">TextSize</span> <span class="o">=</span> <span class="mi">14</span>
        <span class="n">plt</span><span class="o">.</span><span class="n">figure</span><span class="p">(</span><span