Skip to content

Commit a20e140

Browse files
authored
Update Allow positioning of text inside TextBox
1 parent 102190a commit a20e140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/users/next_whats_new/Allow positioning of text inside TextBox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ from matplotlib import pyplot as plt
1111
from matplotlib.widgets import TextBox
1212

1313
Box_input = plt.axes([0.2, 0.2, 0.1, 0.075])
14-
text_box = TextBox(ax=Box_input, initial="text", textalignment="center")
14+
text_box = TextBox(ax=Box_input, initial="text", label="", textalignment="center")
1515

1616
``

0 commit comments

Comments
 (0)