jupyter-playground icon indicating copy to clipboard operation
jupyter-playground copied to clipboard

Return Values from JS to Python

Open Dadatata-JZ opened this issue 4 years ago • 0 comments

Hi there,

I studied your wonderful article "https://www.stefaanlippens.net/jupyter-custom-d3-visualization.html". It is very useful. I am trying to build some interactive components referring to your example. I am curious whether you have any ideas about how to return values from JS for reimplementing these calculation results in python.

For example, in your sample, assuming, I want to return the circle [id] which is interacted by the user. This info can be gathered by js, now I want to return to jupyter.

Thanks in advance

Dadatata-JZ avatar Apr 02 '20 17:04 Dadatata-JZ