/usr/share/doc/python-pyx-doc/examples/bargraphs/month.py is in python-pyx-doc 0.12.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | from pyx import *
mypainter = graph.axis.painter.bar(nameattrs=[trafo.rotate(45),
text.halign.right],
innerticklength=0.1)
myaxis = graph.axis.bar(painter=mypainter)
g = graph.graphxy(width=8, x=myaxis)
g.plot(graph.data.file("minimal.dat", xname=1, y=2), [graph.style.bar()])
g.writeEPSfile("month")
g.writePDFfile("month")
|