Hi,
Suppose I have:
s = slider(1:10)
img = @lift eye(s)
How can I create the interactive plot in Jupyter using @lift?
@lift imshow(img)
I know @manipulate has the withfig() option where we can pass the PyPlot
Figure object, what about @lift?
-Júlio
Hi Shashi, thank you very much for your help.
What is slider_val in your code snippet? I actually have multiple sliders
and other widgets that I want to play with before plotting. Is there any
version of @manipulate where I can pass all sorts of widgets at once?
@manipulate slider, checkbox,
On Mon, Aug 3, 2015 at 12:30 AM, Júlio Hoffimann julio.hoffim...@gmail.com
wrote:
Hi Shashi, thank you very much for your help.
What is slider_val in your code snippet? I actually have multiple sliders
and other widgets that I want to play with before plotting. Is there any
version of
Hi Shashi,
When I type:
s = slider(1:10)
a = @lift eye(s)
display(s)
fig = figure()
@manipulate for a=a; withfig(fig) do
imshow(a)
end
end
I get the interactive plot correct, but an extra undesired print of the
array in Jupyter. What I can do to fix that?
-Júlio
I got it, the widgets are shown automatically by @manipulate, I'm changing
the code already.
Thanks,
Júlio.
2015-08-02 16:42 GMT-07:00 Júlio Hoffimann julio.hoffim...@gmail.com:
Hi Shashi,
When I type:
s = slider(1:10)
a = @lift eye(s)
display(s)
fig = figure()
@manipulate for a=a;