Runing Sage 6.4.1 on a MacBook Pro, OS X 10.9 (but the problems below 
happen on all other Macs running 10.6 for example (with appropriate Sage 
versions).

I cannot plot from Sage to a window using a Python script, but I can in a 
Sage session.  If I use the code,

adj= [[0,0,0,1],[0,0,0,1],[0,0,0,1],[1,1,1,0]]

M = Matrix(Adjls)   # Convert to Sage matrix

D= Graph(M)

D.show()

 in a Python script I do not get a plot from show(), although all the other 
Sage computations work fine.

 If I use the same code in a Sage session in a Terminal Window I get the 
plot in a window.

 My Question:  Is there some way to plot from a script that I should be 
using?  Flags to set in some startup file?  Or?

 Note: I use the Python and packages/libraries provided in Sage

 Thank you for any ideas, info, or help.

 -- Lou Pecora

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to