It depends a little bit on how you install the sage kernel into your 
jupyter notebook server, but chances are you have to do some extra work to 
install some notebook extensions.

In the sage install, in "<SAGE_ROOT>/local/share" there are 3 subdirs 
"jsmol, "mathjax", "threejs". These need to be findable as "nbextensions" 
by your jupyter. Having them symlinked in, say, 
/usr/local/share/jupyter/nbextensions should do the trick [if your sage 
kernel lives in .../kernels/sagemath , you would probably want to symlink 
these extensions from .../nbextensions ] 

On Sunday, November 18, 2018 at 2:25:43 PM UTC-8, Kolen Cheung wrote:
>
> sage: y = var('y')
> sage: plot3d(x * y, (x, -1, 1), (y, -1, 1), viewer='threejs')
> Launched html viewer for Graphics3d Object
>
> I didn’t see anything since I’m remote ssh. I tried both ssh -X and ssh -Y 
> but they doesn’t work.
>
> I don’t have a local machine that has a working sage yet. So can’t test 
> that.
>
> Thanks.
> ​
>

-- 
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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to