For reference, x = var("x")
@interact def _(f = input_box(x, label='$f(x) = $', width=40), x_range=input_grid(1,2,[[-8,8]], label='$x$ range', width=10), auto_update=False): a,b=x_range[0] html("\[ f (x) = %s \]"%str(latex(f)) ) p1=plot(f, (x,a,b), color='blue', legend_label='$f(x)$', axes_labels=['$x$','$y$'],tick_formatter="latex") show(p1, figsize=6) -- You received this message because you are subscribed to the Google Groups "sage-edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-edu+unsubscr...@googlegroups.com. To post to this group, send email to sage-edu@googlegroups.com. Visit this group at http://groups.google.com/group/sage-edu?hl=en. For more options, visit https://groups.google.com/groups/opt_out.