do not keep filehandles around; instead use the same file open method at all places
[PyX.git] / manual / graph.py
blob6d69d0185667cd56fa2a3f48acea8fbb62577512
1 from pyx import *
2 g = graph.graphxy(width=8)
3 g.plot(graph.data.file("graph.dat", x=1, y=2))
4 g.writePDFfile()