CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2014-12-25-interact-plot.sagewsOpen in CoCalc

Examples for support purposes...

@interact
def myplot(f=x^2):
    show(plot(f,(x,0,1)))
    print 'hi'
Interact: please open in CoCalc
@interact
def myplot(f=range(10)):
    print 'hi'
Interact: please open in CoCalc