|
@ -2034,7 +2034,7 @@ curses.wrapper(main) |
|
|
pyplot.plot(<y_data> [, label=<str>]) |
|
|
pyplot.plot(<y_data> [, label=<str>]) |
|
|
pyplot.plot(<x_data>, <y_data>) |
|
|
pyplot.plot(<x_data>, <y_data>) |
|
|
pyplot.legend() <span class="hljs-comment"># Adds a legend.</span> |
|
|
pyplot.legend() <span class="hljs-comment"># Adds a legend.</span> |
|
|
pyplot.savefig(<filename>) <span class="hljs-comment"># Saves the figure.</span> |
|
|
|
|
|
|
|
|
pyplot.savefig(<span class="hljs-string">'<path>'</span>) <span class="hljs-comment"># Saves the figure.</span> |
|
|
pyplot.show() <span class="hljs-comment"># Displays the figure.</span> |
|
|
pyplot.show() <span class="hljs-comment"># Displays the figure.</span> |
|
|
pyplot.clf() <span class="hljs-comment"># Clears the figure.</span> |
|
|
pyplot.clf() <span class="hljs-comment"># Clears the figure.</span> |
|
|
</code></pre></div> |
|
|
</code></pre></div> |
|
|