File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1211,6 +1211,9 @@ Plot
12111211``` python
12121212# $ pip3 install matplotlib
12131213from matplotlib import pyplot
1214+ ```
1215+
1216+ ``` python
12141217pyplot.plot(< data_1> [, < data_2> , ... ])
12151218pyplot.show()
12161219pyplot.savefig(< filename> , transparent = True )
@@ -1223,7 +1226,9 @@ Progress Bar
12231226# $ pip3 install tqdm
12241227from tqdm import tqdm
12251228from time import sleep
1229+ ```
12261230
1231+ ``` python
12271232for i in tqdm(range (100 )):
12281233 sleep(0.02 )
12291234for i in tqdm([1 , 2 , 3 ]):
@@ -1238,7 +1243,9 @@ Table
12381243# $ pip3 install tabulate
12391244from csv import reader
12401245from tabulate import tabulate
1246+ ```
12411247
1248+ ``` python
12421249with open (< filename> , newline = ' ' ) as csv_file:
12431250 reader = reader(csv_file, delimiter = ' ;' )
12441251 headers = [a.title() for a in next (reader)]
You can’t perform that action at this time.
0 commit comments