Ask Your Question
1

Exporting @interact

asked 2020-04-07 09:00:29 +0100

Cyrille gravatar image

Is there a simple solution to export trully a @interact cell ?

edit retag flag offensive close merge delete

Comments

It should be doable, as long as there is not much states in the interact, since, by removing the computational engine, we will have to store each result for each state. So, could you please procide an example of a typical interact you want to export ?

tmonteil gravatar imagetmonteil ( 2020-04-07 17:28:26 +0100 )edit

I will show an exemple very soon

Cyrille gravatar imageCyrille ( 2020-04-08 18:51:03 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-04-07 22:49:25 +0100

tmonteil gravatar image

There have been some proof-of-concept, see for example https://jakevdp.github.io/blog/2013/1...

Unfortunately, StaticInteractno longer exists, and the feature-request is still open : https://github.com/jupyter-widgets/ip...

In any case, the interact should not have too much states, since all of them have to be pre-computed and exported as an image, so while this should work with sliders and buttons, do not expect an interact where the user can enter her own values.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-04-07 09:00:29 +0100

Seen: 565 times

Last updated: Apr 07 '20