pyplot.legend() <spanclass="hljs-comment"># Adds a legend.</span>
pyplot.savefig(<filename>) <spanclass="hljs-comment"># Saves the figure.</span>
pyplot.show() <spanclass="hljs-comment"># Displays the figure.</span>
pyplot.clf() <spanclass="hljs-comment"># Clears the figure.</span>
</code></pre></div>
<div><h2id="table"><ahref="#table"name="table">#</a>Table</h2><div><h4id="printsacsvfileasanasciitable">Prints a CSV file as an ASCII table:</h4><pre><codeclass="python language-python hljs"><spanclass="hljs-comment"># $ pip3 install tabulate</span>