Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Widgets #126

Open
sylvanc opened this issue Jan 17, 2017 · 9 comments
Open

Jupyter Widgets #126

sylvanc opened this issue Jan 17, 2017 · 9 comments

Comments

@sylvanc
Copy link
Collaborator

sylvanc commented Jan 17, 2017

Can we and should we enable Jupyter widgets in IF# ?

https://github.com/ipython/ipywidgets/blob/6b1e0901260409e166ed1763db06122dedeb4b89/docs/source/examples/Widget%20Low%20Level.ipynb

It looks like it is built on top of comm messages.

A collection of widget examples:

https://github.com/ipython/ipywidgets/tree/6b1e0901260409e166ed1763db06122dedeb4b89/docs/source/examples

@cgravill
Copy link
Member

I do like the Mathematica manipulate command: http://reference.wolfram.com/language/ref/Manipulate.html if we could enable terse syntax to generate widgets which communicate to the kernel that would be very engaging and potentially very useful.

@npmurphy
Copy link
Contributor

Plotly allows interactive widgets so it might be possible to extend XPlot.Plotly to use them.
https://plot.ly/python/slider-widget/

@dsyme
Copy link
Contributor

dsyme commented Jan 26, 2017

@npmurphy Re Plotly - yes, that indicates a small ecosystem of widgets, very strong motivator

@cgravill
Copy link
Member

cgravill commented Mar 5, 2018

There's some potentially useful details here: https://blog.jupyter.org/authoring-custom-jupyter-widgets-2884a462e724

@IvanAntipov
Copy link

Please look at my implementation of CheckBox widget.
https://github.com/IvanAntipov/IfSharp.Widgets

@prosconi
Copy link
Collaborator

@IvanAntipov that's pretty neat, but the implementation should integrate with the existing widget system

Is anyone else working on this?

I think I finally understand the protocol that is being used. I have coded up a prototype and pasted a screenshot below.

image

prosconi added a commit that referenced this issue Jan 16, 2019
prosconi added a commit to prosconi/IfSharp that referenced this issue Jan 16, 2019
prosconi pushed a commit to prosconi/IfSharp that referenced this issue Jan 16, 2019
@cgravill
Copy link
Member

I don't think anyone is working on this and it looks like you've made some great progress.

@w0lya
Copy link

w0lya commented Apr 14, 2020

@prosconi I was porting a notebook from Python to F# and ran into the need to have interactive widgets enabled. I see you have a nice WIP solution. Curious, how much is left to do there, and maybe I could help with this work?

@prosconi
Copy link
Collaborator

@w0lya I honestly don't remember, feel free to take the code from my branch that I made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants