First, the question: given I have a ".sage" or ".py" script that draws a plot and buttons, what do I execute in terminal to get the plot with buttons to appear in a browser?
First, what I'm trying to achieve: I want to use SageMath as a debugging tool for a graph algorithm. I gonna need at least a window with a graph and buttons "Step forward", "Step backward", "Continue" whose purpose I hope is clear. Judging by https://wiki.sagemath.org/interact/graph_theory there's no problem to implement it. Now, the problem I haven't managed to solve is absolutely basic, and isn't even relevant to coding: I can't find out how to get a plot with buttons to a browser from a script. The closest I could find is: starting sage server, pressing there "New" → SageMath, then copy-pasting the code and clicking "Run". But this is clearly a lot of hassle both for development now and for usage in future. P.S.: this is a rephrased cross-post from https://ask.sagemath.org/question/46004/get-output-of-a-py-file-in-a-browser/ but I don't think I gonna get a solution there because I got a reply which doesn't meet my "I don't want it to open some external app for PNG files" criteria but got some upvotes, so people are likely to think it's solved. But of course you can answer it there too, or if you don't want, I'll re-post it for you to make it solved. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.