On 2016-01-03 14:41, Emmanuel Charpentier wrote:
  * Interacts : In a Python worksheet, ipywidgets offers a nice
    interactive framework, ... which turns out no be non obvious to use
    from a Sage worksheet. A replacement and/or a compatibility layer
    are needed. (Even if we offer a replacement, a compatibility layer
    might be useful to ease transition/conversion of old sagenb worksheets).

During Sage Days 70, some work was done to make ipywidgets interacts usable within Sage. This now works using the git master for ipywidgets (which is not in Sage yet).

Unfortunately, the API of @interact has some significant differences between SageNB and Jupyter. IMHO, that of SageNB makes more sense but I have not been able to convince upstream Jupyter of this fact. Jupyter might have more fancy stuff (like a game controller widget), but fewer basic "just works" stuff.

I think that a compatibility layer might be possible, but I don't know if it can cover all features of SageNB interacts.

Jeroen.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to