SageMath @interact under Jupyter

asked 2016-04-14 18:51:05 +0200

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

Comments

2

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

kcrisman gravatar imagekcrisman ( 2016-04-14 19:04:21 +0200 )edit
1

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 23:10:28 +0200 )edit
1

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 23:03:39 +0200 )edit
kcrisman gravatar imagekcrisman ( 2016-12-07 03:36:01 +0200 )edit