From fbb8c194b86b3629b7a50f41619c701308dd5a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 6 Jul 2019 14:57:19 +0200 Subject: [PATCH] Plot --- README.md | 2 ++ index.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index aebb88a..ece342f 100644 --- a/README.md +++ b/README.md @@ -1996,8 +1996,10 @@ Plot # $ pip3 install matplotlib from matplotlib import pyplot pyplot.plot( [, , ...]) +pyplot.hist() pyplot.savefig() pyplot.show() +pyplot.clf() # Clears figure. ``` diff --git a/index.html b/index.html index 6a66047..c4972a0 100644 --- a/index.html +++ b/index.html @@ -1713,8 +1713,10 @@ reader(adder(printer())) # 100, 101, ..., 109
# $ pip3 install matplotlib
 from matplotlib import pyplot
 pyplot.plot(<data_1> [, <data_2>, ...])
+pyplot.hist(<data>)
 pyplot.savefig(<filename>)
 pyplot.show()
+pyplot.clf()  # Clears figure.
 

#Table

Prints a CSV file as an ASCII table: