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
1211
1211
``` python
1212
1212
# $ pip3 install matplotlib
1213
1213
from matplotlib import pyplot
1214
+ ```
1215
+
1216
+ ``` python
1214
1217
pyplot.plot(< data_1> [, < data_2> , ... ])
1215
1218
pyplot.show()
1216
1219
pyplot.savefig(< filename> , transparent = True )
@@ -1223,7 +1226,9 @@ Progress Bar
1223
1226
# $ pip3 install tqdm
1224
1227
from tqdm import tqdm
1225
1228
from time import sleep
1229
+ ```
1226
1230
1231
+ ``` python
1227
1232
for i in tqdm(range (100 )):
1228
1233
sleep(0.02 )
1229
1234
for i in tqdm([1 , 2 , 3 ]):
@@ -1238,7 +1243,9 @@ Table
1238
1243
# $ pip3 install tabulate
1239
1244
from csv import reader
1240
1245
from tabulate import tabulate
1246
+ ```
1241
1247
1248
+ ``` python
1242
1249
with open (< filename> , newline = ' ' ) as csv_file:
1243
1250
reader = reader(csv_file, delimiter = ' ;' )
1244
1251
headers = [a.title() for a in next (reader)]
You can’t perform that action at this time.
0 commit comments