Browse Source

Plot

pull/52/head
Jure Šorn 5 years ago
parent
commit
3b413d529d
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -2346,7 +2346,7 @@ from matplotlib import pyplot
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() # Adds a legend. pyplot.legend() # Adds a legend.
pyplot.savefig(<filename>) # Saves the figure.
pyplot.savefig('<path>') # Saves the figure.
pyplot.show() # Displays the figure. pyplot.show() # Displays the figure.
pyplot.clf() # Clears the figure. pyplot.clf() # Clears the figure.
``` ```

2
index.html

@ -2034,7 +2034,7 @@ curses.wrapper(main)
pyplot.plot(&lt;y_data&gt; [, label=&lt;str&gt;]) pyplot.plot(&lt;y_data&gt; [, label=&lt;str&gt;])
pyplot.plot(&lt;x_data&gt;, &lt;y_data&gt;) pyplot.plot(&lt;x_data&gt;, &lt;y_data&gt;)
pyplot.legend() <span class="hljs-comment"># Adds a legend.</span> pyplot.legend() <span class="hljs-comment"># Adds a legend.</span>
pyplot.savefig(&lt;filename&gt;) <span class="hljs-comment"># Saves the figure.</span>
pyplot.savefig(<span class="hljs-string">'&lt;path&gt;'</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>

Loading…
Cancel
Save