prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / examples / axis / painter.py
blob8631db51cdc394b93b2a24f8b8c9dd76ab91e45c
1 from pyx import *
3 mypainter = graph.axis.painter.regular(outerticklength=graph.axis.painter.ticklength.normal,
4 basepathattrs=[style.linewidth.THick, deco.earrow.large])
6 c = graph.axis.pathaxis(path.curve(0, 0, 3, 0, 1, 4, 4, 4),
7 graph.axis.linear(min=0, max=11, title="axis title", painter=mypainter))
8 c.writeEPSfile("painter")
9 c.writePDFfile("painter")
10 c.writeSVGfile("painter")