SageMath @interact under Jupyter

asked 2016-04-14 11:51:05 -0600

Massimo2013 gravatar image

I'm trying to take advantage of the power of SageMath and the superior efficiency and beauty of Jupyter notebooks. I open locally my notebooks with the command:sagemath -n jupyter. This opens a jupyter notebook with sagemath kernel. However, unfortunately, interaction commands and widgets (slider, select, dropdown) are not fully compatible: under Jupyter I must use ipywidgets, but then the code is not compatible with SageMath, if I want to make it available in SageMathCloud or SageMathCell.

Is there a way to make sagemath @interact commands available to Jupyter? Are there plans to use the same commands and provide a more complete support of SageMath under Jupyter?

edit retag flag offensive close merge delete



Short answer: yes. Long answer: someone has to implement full compatibility.

kcrisman gravatar imagekcrisman ( 2016-04-14 12:04:21 -0600 )edit

And this is very desirable. There have been some recent discussions between the Jupyter and Sage community at sage-devel for finding a way for more compatibility.

vdelecroix gravatar imagevdelecroix ( 2016-04-14 16:10:28 -0600 )edit

I've just updated to the 7.3 version of sagemath, and interact does not work under jupyter. Does anybody have the same problem?

Massimo2013 gravatar imageMassimo2013 ( 2016-09-18 16:03:39 -0600 )edit
kcrisman gravatar imagekcrisman ( 2016-12-06 20:36:01 -0600 )edit