Mercurial > hg > numerics
comparison numerics/histogram.py @ 98:f6d885adb3d7
STUB: numerics/histogram.py numerics/text_display.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Mar 2015 20:23:34 -0800 |
parents | 5b25e0be78aa |
children | 19f3d071bb73 |
comparison
equal
deleted
inserted
replaced
97:8ed00f2a3e8a | 98:f6d885adb3d7 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 | 3 |
4 """ | 4 """ |
5 Histograms | 5 Histograms |
6 | |
7 Unicode is awesome; see http://www.alanwood.net/unicode/block_elements.html | |
8 """ | |
9 | |
10 blocks = """ | |
11 █ | |
12 ▉ | |
13 ▊ | |
14 ▋ | |
15 ▌ | |
16 ▍ | |
17 ▎ | |
18 ▏ | |
19 """ | 6 """ |
20 | 7 |
21 # imports | 8 # imports |
22 import argparse | 9 import argparse |
23 import os | 10 import os |