Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 10 years ago

jaia gravatar image

Interacts not working in IPython notebook

I'm running Sage 6.4.1 (on Ubuntu 14.04 and Firefox 34.0) and using the IPython notebook. It's a great interface, but interactives aren't working. For example, the following brings up a bunch of HTML rather than an actual interactive.

@interact
def test(a=(-3,3)):
    p=plot(a*sin(x), (x,-2*pi, 2*pi))
    show(p)

Do interactives work differently in the IPython notebook?