From 6d8a347fc072cf8cbaba15ce99a45177c6db7e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 7 Jul 2019 18:17:28 +0200 Subject: [PATCH] Plot --- README.md | 3 +-- index.html | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d03d436..c27ca96 100644 --- a/README.md +++ b/README.md @@ -2018,8 +2018,7 @@ Plot ```python # $ pip3 install matplotlib from matplotlib import pyplot -pyplot.plot( [, , ...]) -pyplot.hist() +pyplot.plot( [, , ...]) # Or: hist, pie, ... pyplot.savefig() pyplot.show() pyplot.clf() # Clears figure. diff --git a/index.html b/index.html index 4460f54..648ed18 100644 --- a/index.html +++ b/index.html @@ -1732,8 +1732,7 @@ reader(adder(printer())) # 100, 101, ..., 109

#Plot

# $ pip3 install matplotlib
 from matplotlib import pyplot
-pyplot.plot(<data_1> [, <data_2>, ...])
-pyplot.hist(<data>)
+pyplot.plot(<data_1> [, <data_2>, ...])  # Or: hist, pie, ...
 pyplot.savefig(<filename>)
 pyplot.show()
 pyplot.clf()  # Clears figure.