jupyter / help

:sparkles: Need some help or have some questions? Please visit our Discourse page.
https://discourse.jupyter.org
291 stars 97 forks source link

Interaction toogle button / table #226

Open analemme opened 6 years ago

analemme commented 6 years ago

Hi,

I'm currently working on the implementation of a code that makes possible to generate pdf on latex style from Jupyter Notebook.

The idea is simple:

I would like to use an interactive widget in my notebook to enter the data from a touch screen. So let's consider the following minimal example: I have this table made of Button from from ipywidgets:

1

This give on the same time this table:

2

I need to make a simple calculation out of that table, e.g. sum of values, here = 6.

Now I would need to be able to click on a red cell to make it green with a symbol 'o', something like that:

3

and the corresponding table:

4

The calculations done on that table would give a total of 4.

I'm not looking for a way to visualize the table made of 0/1, what I try to do is:

Does anybody already faced this ? Or do somebody knows how to solve those problems ?

Thanks in advance.

Jb

analemme commented 6 years ago

Please somebody to help me on this topic ? I still cannot find any way to solve this issue...

Thank you,