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.