ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 08 Mar 2018 12:30:55 -0600using show automatically in flask notebookhttps://ask.sagemath.org/question/41444/using-show-automatically-in-flask-notebook/Is there a way to make sage flask notebook automatically use show when assigning a variable?
For instance if I don't assign the right hand side to variable flask will attempt to typeset it.
vector([1,2,3])
But if I assign it to a variable r
r=vector([1,2,3])
it will only show it immediately if I type
r=vector([1,2,3]);show(r)
or simply
r=vector([1,2,3]);r
But I find it a bit tedious if I have to type that every time, so is there a way to make show, get executed automatically, whenever one is assigning a variable?
Thu, 08 Mar 2018 12:30:55 -0600https://ask.sagemath.org/question/41444/using-show-automatically-in-flask-notebook/