test.py - draw r-ggplot from commandline