prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / examples / bargraphs / fromvalue.py
blob406468f6023c5a2d7146f86024b6a8beb8ca69e0
1 from pyx import *
3 g = graph.graphxy(width=8, x=graph.axis.bar())
4 g.plot(graph.data.file("minimal.dat", xname=0, y=2),
5 [graph.style.barpos(fromvalue=0), graph.style.bar()])
6 g.writeEPSfile("fromvalue")
7 g.writePDFfile("fromvalue")
8 g.writeSVGfile("fromvalue")