The Textbox widget lets users interactively provide text input, including
formulas. In this example, the plot is updated using the on_submit method.
This method triggers the execution of the submit function when the
user presses enter in the textbox or leaves the textbox.