diff options
author | cedricbonhomme <devnull@localhost> | 2010-04-29 09:08:26 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-04-29 09:08:26 +0200 |
commit | 3855b64d4d582273b33f16d4c35b4faf9238cfff (patch) | |
tree | 9b9ae9748b18b0bfe8de4193c280917d135fdfa4 /utils.py | |
parent | New regular expression to remove special characters (for instance ’). (diff) | |
download | newspipe-3855b64d4d582273b33f16d4c35b4faf9238cfff.tar.gz newspipe-3855b64d4d582273b33f16d4c35b4faf9238cfff.tar.bz2 newspipe-3855b64d4d582273b33f16d4c35b4faf9238cfff.zip |
Minor bug fix and some improvements.
Diffstat (limited to 'utils.py')
-rwxr-xr-x | utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,6 +110,8 @@ def create_histogram(words, file_name="./var/histogram.png"): """ Create a histogram. """ + if "pylab" in IMPORT_ERROR: + return length = 10 ind = pylab.arange(length) # abscissa width = 0.35 # bars width |