Skip to content
Russell91 edited this page Jun 14, 2014 · 53 revisions
py '`'
`

alias pyplt='py -c '"'"'import matplotlib; matplotlib.use(`Agg`); import matplotlib.pyplot as plt'"'"' -C '"'"'plt.savefig("output.pdf")'"'"
py '[math.sin(x/10) for x in range(100)]' | pyplt -l 'plt.plot(l)'

Clone this wiki locally