Open with one click!
@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