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

Skip to content

Commit b96f885

Browse files
authored
Merge pull request #19920 from meeseeksmachine/auto-backport-of-pr-19903-on-v3.4.x
Backport PR #19903 on branch v3.4.x (Fix textbox cursor color, set its linewidth.)
2 parents ea96b24 + 659d20b commit b96f885

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)