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

Skip to content

Commit c92af55

Browse files
Nodraakfariza
authored andcommitted
[Widget/Text] Dont validate the input when clicking outside of the widget
1 parent 893962f commit c92af55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ def _click(self, event):
865865
if self.ignore(event):
866866
return
867867
if event.inaxes != self.ax:
868+
self.capturekeystrokes = False
868869
self.stop_typing()
869870
return
870871
if not self.eventson:

0 commit comments

Comments
 (0)