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