Download this file
12 lines (9 with data), 201 Bytes
| # print png to standard out
# usage: python print_stdout.py > somefile.png
import sys
import matplotlib
matplotlib.use('Agg')
from matplotlib.matlab import *
plot([1,2,3])
savefig(sys.stdout)
show()
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.