copied example into test_basic.py to initiate test battery
ENH: allow to set matplotlib backend from env MATPLOTLIB_BACKEND
RF: make copied example into a smoke test

invoke with e.g. MATPLOTLIB_BACKEND=agg nosetests -s -v ggplot