prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / examples / bargraphs / minimal.py
blob166f96662a564b803cd327dd6ccaadf636d253f0
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), [graph.style.bar()])
5 g.writeEPSfile("minimal")
6 g.writePDFfile("minimal")
7 g.writeSVGfile("minimal")