Ask Your Question
1

lengthen interact window or move controls to side

asked 2020-12-01 21:13:26 +0200

cybervigilante gravatar image

updated 2020-12-01 21:39:30 +0200

Is there any way I can lengthen the Interact window or move the controls to the side? When I have more than two controls it cuts off the function plot at the bottom so it's hard to see the effect.

@interact
def _(a=(1,7),b=(-5,5),c=(-10,10),d=(-6,6)):
    f(x) = a*(x+d)^2 +c*(x) + b
    show(plot(f,-6,5,aspect_ratio=.2,ymax=100) + text("f(x) = a*(x+d)^2 +c*(x+e) + b",(10,100)))

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-01 21:36:21 +0200

cybervigilante gravatar image

Found the answer: Cell > Current Outputs > Toggle Scrolling so you get the full height of the output window.

edit flag offensive delete link more

Comments

Or click in the "margin" of the output to toggle.

slelievre gravatar imageslelievre ( 2020-12-02 13:34:30 +0200 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2020-12-01 21:13:26 +0200

Seen: 31 times

Last updated: Dec 01 '20