Skip to content

Commit e964c8b

Browse files
committed
Libraries reorder
1 parent 398364c commit e964c8b

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,30 @@ reader(adder(printer())) # 100, 101, ..., 109
14371437
Libraries
14381438
=========
14391439

1440+
Progress Bar
1441+
------------
1442+
```python
1443+
# $ pip3 install tqdm
1444+
from tqdm import tqdm
1445+
from time import sleep
1446+
for i in tqdm([1, 2, 3]):
1447+
sleep(0.2)
1448+
for i in tqdm(range(100)):
1449+
sleep(0.02)
1450+
```
1451+
1452+
1453+
Plot
1454+
----
1455+
```python
1456+
# $ pip3 install matplotlib
1457+
from matplotlib import pyplot
1458+
pyplot.plot(<data_1> [, <data_2>, ...])
1459+
pyplot.savefig(<filename>, transparent=True)
1460+
pyplot.show()
1461+
```
1462+
1463+
14401464
Argparse
14411465
--------
14421466
```python
@@ -1476,19 +1500,6 @@ optional arguments:
14761500
```
14771501

14781502

1479-
Progress Bar
1480-
------------
1481-
```python
1482-
# $ pip3 install tqdm
1483-
from tqdm import tqdm
1484-
from time import sleep
1485-
for i in tqdm([1, 2, 3]):
1486-
sleep(0.2)
1487-
for i in tqdm(range(100)):
1488-
sleep(0.02)
1489-
```
1490-
1491-
14921503
Table
14931504
-----
14941505
#### Prints CSV file as ASCII table:
@@ -1526,17 +1537,6 @@ def get_border(screen):
15261537
```
15271538

15281539

1529-
Plot
1530-
----
1531-
```python
1532-
# $ pip3 install matplotlib
1533-
from matplotlib import pyplot
1534-
pyplot.plot(<data_1> [, <data_2>, ...])
1535-
pyplot.savefig(<filename>, transparent=True)
1536-
pyplot.show()
1537-
```
1538-
1539-
15401540
Image
15411541
-----
15421542
#### Creates PNG image of greyscale gradient:

0 commit comments

Comments
 (0)