Skip to content

Commit 9d25f21

Browse files
authored
Merge pull request #19903 from anntzer/tbcc
Fix textbox cursor color, set its linewidth.
2 parents 42a0a11 + c53cb3d commit 9d25f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ def __init__(self, ax, label, initial='',
10291029

10301030
self.cursor_index = 0
10311031

1032-
self.cursor = ax.vlines(0, 0, 0, visible=False,
1032+
self.cursor = ax.vlines(0, 0, 0, visible=False, color="k", lw=1,
10331033
transform=mpl.transforms.IdentityTransform())
10341034

10351035
self.connect_event('button_press_event', self._click)

0 commit comments

Comments
 (0)