ASCII back-end for matplotlib
git clone https://github.com/domitry/matascii.git
cd matascii
python setup.py
from matplotlib import pylab
import matascii
pylab.switch_backend("module://matascii")
# some lines here
pylab.show()
# or pylab.savefig("hoge.txt")