diff --git a/README.md b/README.md index 0b0944b..ba96c95 100644 --- a/README.md +++ b/README.md @@ -2238,14 +2238,8 @@ Plot ```python # $ pip3 install matplotlib from matplotlib import pyplot -``` - -```python pyplot.plot( [, label=]) pyplot.plot(, ) -``` - -```python pyplot.legend() # Adds a legend. pyplot.savefig() # Saves figure. pyplot.show() # Displays figure. diff --git a/index.html b/index.html index 8d58ade..c853d67 100644 --- a/index.html +++ b/index.html @@ -1936,16 +1936,14 @@ reader(adder(printer())) # 100, 101, ..., 109

#Plot

# $ pip3 install matplotlib
 from matplotlib import pyplot
-
- -
pyplot.plot(<y_data> [, label=<str>])
+pyplot.plot(<y_data> [, label=<str>])
 pyplot.plot(<x_data>, <y_data>)
-
-
pyplot.legend()                        # Adds a legend.
+pyplot.legend()                        # Adds a legend.
 pyplot.savefig(<filename>)             # Saves figure.
 pyplot.show()                          # Displays figure.
 pyplot.clf()                           # Clears figure.
-
+ +

#Table

Prints a CSV file as an ASCII table:

# $ pip3 install tabulate
 import csv, tabulate
 with open(<filename>, encoding='utf-8', newline='') as file: