SageMath @interact under Jupyter
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?
Short answer: yes. Long answer: someone has to implement full compatibility.
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.
I've just updated to the 7.3 version of sagemath, and interact does not work under jupyter. Does anybody have the same problem?
Also see https://trac.sagemath.org/ticket/21267