Forwarding this message, which was way to big for the mailing list. !!! IMPORTANT NOTE !!!: We have a limit of 40KB on your PyX mailing lists. I consider this limit being very useful and do not want to change this default setting. However, from time to time people are hitting this barrier. While that's what the limit is for, you should reconsider to float others mailboxes which huge binary blobs. We can always first discuss on the list whether such data is really essential.
----- Forwarded message from [EMAIL PROTECTED] ----- Subject: Forward of moderated message From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri, 28 Jul 2006 07:30:45 -0700 Date: Fri, 28 Jul 2006 09:44:06 -0400 From: "Carl Bolduc" <[EMAIL PROTECTED]> To: [email protected] Subject: Source file not working anymore? Hi, I need help again :( I have several source file that generated nice plots that don't work anymore, here is an example: ___________________________ from pyx import * text.set(mode="latex") mynestedbaraxis = graph.axis.bar(defaultsubaxis=graph.axis.bar(dist=0)) g = graph.graphxy(width=8, x=mynestedbaraxis, y=graph.axis.lin(min=0, max=60, title="Number of SAGE tags"), y2=graph.axis.lin(min=0, max=3500000, title="Number of copies/$\mu$g of total RNA"), x2=None) g.plot([graph.data.list([["GDX", 0], ["DHT", 53]], xname=1, y=2), graph.data.list([["GDX", 3324927], ["DHT", 2738075]], xname=1, y2=2)], [graph.style.barpos(fromvalue=0, subnames = ["SAGE", "Q\_RT-PCR"]), graph.style.bar(barattrs=[color.palette.ReverseGray])]) g.text(g.width/2, g.height + 0.5, "Acyl-Coenzyme A dehydrogenase very long chain", [text.halign.center, text.valign.bottom]) g.writeEPSfile("acadvl") ___________________________ I get this error now: ___________________________ Traceback (most recent call last): File "lpl.py", line 19, in ? [graph.style.barpos(fromvalue=0, subnames = ["SAGE", "Q\_RT-PCR"]), graph.style.bar(barattrs=[color.palette.ReverseGray])]) TypeError: __init__() got an unexpected keyword argument 'subnames' ___________________________ I attached an example of the output that i was getting in the past, I guess that i was using a different version of Pyx. What should I do now? Thanks, carl ----- End forwarded message ----- -- by _ _ _ Dr. André Wobst / \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
