You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then existing code will function as before, but there is the option to suppress the beep. One could argue that .Skip(False) should be the default, but that would be a change in how MPL functions.
Matplotlib version
Operating system: MacOS 10.15.7
Matplotlib version: 3.3.2
Matplotlib backend: MacOSX
Python version: 3.9.1
Jupyter version: N/A
Other libraries: wxpython 4.1.1
default conda channels except wxpython from pypi.
The text was updated successfully, but these errors were encountered:
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Bug report
Bug summary
Pressing a key in a MPL plot causes a beep. This is not a serious problem, but is annoying.
Code for reproduction
use the code here https://matplotlib.org/stable/gallery/event_handling/keypress_demo.html, but add
Actual outcome
Every time a key is pressed, I hear a bell sound (a beep).
Expected outcome
I should be able to eliminate this using this in the callback:
The reason for this is in this callback handler in
backend_wx.py
Since the method ends with
event.Skip()
(same asevent.Skip(True)
) the call toevent.guiEvent.Skip(False)
is ignored.If this is rewritten as:
Then existing code will function as before, but there is the option to suppress the beep. One could argue that
.Skip(False)
should be the default, but that would be a change in how MPL functions.Matplotlib version
default conda channels except wxpython from pypi.
The text was updated successfully, but these errors were encountered: