Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a55668

Browse files
authored
Update textbox.py
1 parent a658fbc commit 3a55668

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/widgets/textbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def submit(expression):
4040

4141

4242
axbox = fig.add_axes([0.1, 0.05, 0.8, 0.075])
43-
text_box = TextBox(axbox, "Evaluate")
43+
text_box = TextBox(axbox, "Evaluate", ha="center")
4444
text_box.on_submit(submit)
4545
text_box.set_val("t ** 2") # Trigger `submit` with the initial string.
4646

0 commit comments

Comments
 (0)