Thanks, this is exactly what I want. I do want to be modular. However, my graphics object contains 0 graphics primitives
g = Graphics() def f1(g) g += polygon(...) def f2(g) g += ... show(g) Can I not pass g as a parameter and have it returned to outer scope? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org