prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / examples / bargraphs / month.py
blob2acbd01cad2be5fb52947440d7018cd66cb6db68
1 from pyx import *
3 mypainter = graph.axis.painter.bar(nameattrs=[trafo.rotate(45),
4 text.halign.right],
5 innerticklength=0.1)
6 myaxis = graph.axis.bar(painter=mypainter)
8 g = graph.graphxy(width=8, x=myaxis)
9 g.plot(graph.data.file("minimal.dat", xname=1, y=2), [graph.style.bar()])
10 g.writeEPSfile("month")
11 g.writePDFfile("month")
12 g.writeSVGfile("month")