Skip to content

Commit 510fc4f

Browse files
committed
Libraries
1 parent 8f52516 commit 510fc4f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,9 +1211,6 @@ Plot
12111211
```python
12121212
# $ pip3 install matplotlib
12131213
from matplotlib import pyplot
1214-
```
1215-
1216-
```python
12171214
pyplot.plot(<data_1> [, <data_2>, ...])
12181215
pyplot.show()
12191216
pyplot.savefig(<filename>, transparent=True)
@@ -1226,9 +1223,6 @@ Progress Bar
12261223
# $ pip3 install tqdm
12271224
from tqdm import tqdm
12281225
from time import sleep
1229-
```
1230-
1231-
```python
12321226
for i in tqdm(range(100)):
12331227
sleep(0.02)
12341228
for i in tqdm([1, 2, 3]):
@@ -1238,13 +1232,13 @@ for i in tqdm([1, 2, 3]):
12381232

12391233
Table
12401234
-----
1241-
#### Prints CSV file as ASCII table:
12421235
```python
12431236
# $ pip3 install tabulate
12441237
from csv import reader
12451238
from tabulate import tabulate
12461239
```
12471240

1241+
#### Prints CSV file as ASCII table:
12481242
```python
12491243
with open(<filename>, newline='') as csv_file:
12501244
reader = reader(csv_file, delimiter=';')
@@ -1435,7 +1429,7 @@ timeit('"-".join(str(a) for a in range(100))',
14351429
```
14361430

14371431
### Call Graph
1438-
#### Generates a PNG image of call graph with highlighted the bottlenecks.
1432+
#### Generates a PNG image of call graph with highlighted bottlenecks.
14391433
```python
14401434
# $ pip3 install pycallgraph
14411435
from pycallgraph import output, PyCallGraph

0 commit comments

Comments
 (0)