Skip to content

Commit 6d8a347

Browse files
committed
Plot
1 parent befee8a commit 6d8a347

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,8 +2018,7 @@ Plot
20182018
```python
20192019
# $ pip3 install matplotlib
20202020
from matplotlib import pyplot
2021-
pyplot.plot(<data_1> [, <data_2>, ...])
2022-
pyplot.hist(<data>)
2021+
pyplot.plot(<data_1> [, <data_2>, ...]) # Or: hist, pie, ...
20232022
pyplot.savefig(<filename>)
20242023
pyplot.show()
20252024
pyplot.clf() # Clears figure.

index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,8 +1732,7 @@ <h2 id="progressbar"><a href="#progressbar" name="progressbar">#</a>Progress Bar
17321732
<h2 id="plot"><a href="#plot" name="plot">#</a>Plot</h2>
17331733
<pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install matplotlib</span>
17341734
<span class="hljs-keyword">from</span> matplotlib <span class="hljs-keyword">import</span> pyplot
1735-
pyplot.plot(&lt;data_1&gt; [, &lt;data_2&gt;, ...])
1736-
pyplot.hist(&lt;data&gt;)
1735+
pyplot.plot(&lt;data_1&gt; [, &lt;data_2&gt;, ...]) <span class="hljs-comment"># Or: hist, pie, ...</span>
17371736
pyplot.savefig(&lt;filename&gt;)
17381737
pyplot.show()
17391738
pyplot.clf() <span class="hljs-comment"># Clears figure.</span>

0 commit comments

Comments
 (0)