Hi,
> I tried assigning the graphxy instance to a variable name to be returned
> to the calling function, but that failed. What is the correct procedure for
> passing it around?
Try something like:
# Main body of code
g = graph.graphxy(...)
# Call plotting routines
dostuff1(g)
dostuff2(g)
# Save results
g.writePDFfile('test')
def dostuff1(g):
g.plot(...)
def dostuff2(g):
g.plot(...)
David
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user