ass="n">num</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">legendary</span><span class="p">)):</span>
            <span class="n">latexwriter</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s2">&quot;</span><span class="se">\n\\</span><span class="s2">addplot+  [&quot;</span> <span class="o">+</span> <span 