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
Allow nested manipulates #164
Comments
Yep,
|
The stalling was caused by a couple of bugs arising from recent changes in Reactive to get it work on 0.6. The PRs to fix those, and another issue your code brought up for me, (JuliaGizmos/Reactive.jl#138 and JuliaGizmos/Reactive.jl#139) should be merged soon. In the meantime I'd recommend trying This is strongly related to #12 and it would be nice to fix this. I'm hopeful I'll get a chance to as part of my GSoC work on Interact Anyway, thanks for the report, it helped me track down a couple of subtle bugs in Reactive. |
Those PRs are merged. Party time all round 🎉 |
@JobJob just confirming this is ok to close? |
@JobJob, are you able to reproduce this? |
Yep. Leave this issue open so it stays on the radar |
I'm interested in helping fix this issue. Do you know where abouts to look? edit: the simplest way would probably be to:
i.e. a toggle over "temperature" would have the id |
Yeah, it's gonna be pretty fiddly, and IJulia specific. Probably better to try implement it in InteractNext once it's released, which should be next week, though expect it to be a bit brittle at first. A basic approach that might work is to get the widgets to become As I wrote above, if you want to build more complicated UIs, you're probably better off handling the widgets and signals manually for now, rather than using manipulate. |
FYI, supporting interacts inside interacts works well (at least in python) in ipywidgets 7. |
I just tried: using InteractBulma
some_dict = Dict(
"arc" => 3.3,
"act1" => 6.8,
"act2" => 9.6
)
@manipulate for design=["arc", "act1", "act2"]
@manipulate for r=linspace(0, some_dict[design], 25)
r
end
end and it seems to just work. Let me know if there are more things to be done on this front or whether the issue can simply be closed. |
You can close it
… On Jul 11, 2018, at 11:36 AM, Pietro Vertechi ***@***.***> wrote:
I just tried:
using InteractBulma
some_dict = Dict(
"arc" => 3.3,
"act1" => 6.8,
"act2" => 9.6
)
@manipulate for design=["arc", "act1", "act2"]
@manipulate for r=linspace(0, some_dict[design], 25)
r
end
end
and it seems to just work. Let me know if there are more things to be done on this front or whether the issue can simply be closed.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I want to be able to nest manipulates where inner ones are affected by outer ones.
This currently causes the jupyter notebook to stall out
Simple example:
The text was updated successfully, but these errors were encountered: