diff --git a/lib/matplotlib/widgets.py b/lib/matplotlib/widgets.py index 0b584fab8a25..65d971697299 100644 --- a/lib/matplotlib/widgets.py +++ b/lib/matplotlib/widgets.py @@ -1111,7 +1111,7 @@ def _keypress(self, event): self._rendercursor() if self.eventson: self._observers.process('change', self.text) - if key == "enter": + if key in ["enter", "return"]: self._observers.process('submit', self.text) def set_val(self, val): pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy