> 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() >
Hello! One possible workaround is to save the plots in a directory that you can then open them from. I'm not sure what `show()` should do when called from a script, because it depends on Sage's command line, I think. > -- 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.