1 | initial version |
Yes, there is a way to do this, with interact
.
For your example, the equivalent in Sage would be:
@interact
def _(a=slider(0, 5)):
plot(a * sin(x), -10, 10).show()
2 | No.2 Revision |
Yes, there is a way to do this, with interact
.
For your example, the equivalent in Sage would be:be (this goes in a notebook cell):
@interact
def _(a=slider(0, interact_sin(a=slider(0, 5)):
plot(a * sin(x), -10, 10).show()