Thank you, kcrisman.  That worked perfectly.

On Friday, December 12, 2014 11:15:56 AM UTC-5, LouP wrote:
>
> 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 [email protected].
To post to this group, send email to [email protected].
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