| 1 | initial version |
Is this @interact not what you were looking for?
@interact
def _(a=slider([0..20],default=2)):
plot(1-a/x, (x, 0, 10)).show(figsize=3,ymin=-10)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.