1 | initial version |
Hi,
You should have a look at the documentation of interact. You can access the documentation with
sage: interact?
For your specific example, you can do
var('z')
@interact
def my_interact(a=(1,5,1)):
f(z) = z^a + z - 1 + 1/z
complex_plot(f, (-3, 3), (-3, 3)).show()