[sage-support] Re: 3d plotting in CoCalc with SageMath 8.0

2017-11-04 Thread Simon Willerton
Thanks Eric.  I just found the problem with nbviewer that you posted the 
solution to.  Fantastic precognitive help!

And thanks William.

Simon.

-- 
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.


[sage-support] Re: 3d plotting in CoCalc with SageMath 8.0

2017-10-29 Thread Eric Gourgoulhon
Hi, 

You must add the keyword argument online=True to show(...):

show(surface.plot(aspect_ratio=1, color='yellow'), viewer='threejs', online=
True)

Then it works in a Jupyter notebook running SageMath 8.0 in CoCalc:
https://cocalc.com/projects/551a1e1d-9360-47bf-89ba-91603e96c7fe/files/2017-10-29-20.ipynb

More generally online=True (which was introduced in SageMath 8.0) is 
necessary to share threejs plots on the web, e.g. via nbviewer.jupyter.org.

Eric.


-- 
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.